Ejemplo n.º 1
0
        public ActionResult DateTimeLocal()
        {
            var viewModel = new DateTimeLocalViewModel()
            {
                DateTimeLocal = new DateTime( 2000, 12, 1, 13, 1, 1 ),
                NullableDateTimeLocal = new DateTime( 2000, 12, 2, 13, 2, 2 ),
                DateTimeLocalAsString = "2000-12-03T13:03"
            };

            return this.View( viewModel );
        }
Ejemplo n.º 2
0
 public ActionResult DateTimeLocal( DateTimeLocalViewModel viewModel )
 {
     return this.View( viewModel );
 }