예제 #1
0
 public ActionResult Time( TimeViewModel viewModel )
 {
     return this.View( viewModel );
 }
예제 #2
0
        public ActionResult Time()
        {
            var viewModel = new TimeViewModel()
            {
                Time = new DateTime( 2000, 12, 1, 13, 1, 1 ),
                NullableTime = new DateTime( 2000, 12, 2, 13, 2, 2 ),
                TimeAsString = "13:03:03"
            };

            return this.View( viewModel );
        }