Exemplo n.º 1
0
        public ActionResult SearchAndGrid()
        {
            MaintenanceViewModel01 vm = new MaintenanceViewModel01();

            vm.HandleRequest();

            return(View(vm));
        }
Exemplo n.º 2
0
        public ActionResult SearchAndGrid(MaintenanceViewModel01 vm)
        {
            vm.HandleRequest();

            // NOTE: Must clear the model state in order to bind
            //       the @Html helpers to the new model values
            ModelState.Clear();

            return(View(vm));
        }