<%@ Page Title="Booking" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Models/App.master" %> <% using ( Html.BeginForm("DateQuery","Google") ) { %>

Période de recherche:

<%= Html.LabelFor(model=>model.PreferedDate) %>:
Le <%= Html.TextBoxFor(model=>model.PreferedDate) %> <%= Html.ValidationMessageFor(model=>model.PreferedDate) %>

<%= Html.LabelFor(model=>model.PreferedHour) %>:
Le <%= Html.TextBoxFor(model=>model.PreferedHour) %> <%= Html.ValidationMessageFor(model=>model.PreferedHour) %>

<%= Html.LabelFor(model=>model.MaxDate) %>:
Le <%= Html.TextBoxFor(model=>model.MaxDate) %> <%= Html.ValidationMessageFor(model=>model.MaxDate) %>

<%= Html.LabelFor(model=>model.MinDuration) %>:
<%= Html.TextBoxFor(model=>model.MinDuration) %> <%= Html.ValidationMessageFor(model=>model.MinDuration) %>

<%= Html.LabelFor(model=>model.UserName) %>:
<%= Html.TextBoxFor(model=>model.UserName) %>
<%= Html.ValidationMessageFor(model=>model.UserName) %>

<% } %>
<%= Html.Encode(ViewData["json"]) %>