Example #1
0
 public ActionResult UserRoleList()
 {
     using (var db = new XkSystem.Models.DbContext())
     {
         var vm = new Models.SysRole.MenuList();
         return(View(vm));
     }
 }
Example #2
0
 public ActionResult UserRoleList(Models.SysRole.MenuList vm)
 {
     return(Code.MvcHelper.Post(null, Url.Action("UserRoleList", new { searchText = vm.SearchText })));
 }