Пример #1
0
        public ActionResult Month()
        {
            var viewModel = new MonthViewModel()
            {
                Month = new DateTime( 2000, 10, 1 ),
                NullableMonth = new DateTime( 2000, 11, 1 ),
                MonthAsString = "2000-12"
            };

            return this.View( viewModel );
        }
Пример #2
0
 public ActionResult Month( MonthViewModel viewModel )
 {
     return this.View( viewModel );
 }