Exemplo n.º 1
0
        public ActionResult Date()
        {
            var viewModel = new DateViewModel()
            {
                Date = new DateTime( 2000, 12, 1 ),
                NullableDate = new DateTime( 2000, 12,2 ),
                DateAsString = "2000-12-03"
            };

            return this.View( viewModel );
        }
Exemplo n.º 2
0
 public ActionResult Date( DateViewModel viewModel )
 {
     return this.View( viewModel );
 }