예제 #1
0
 public ActionResult saveRole(Role entity)
 {
     var message = new RoleService().saveRole(entity);
     return Json(message, JsonRequestBehavior.DenyGet);
 }
예제 #2
0
 public ActionResult delRole(string roleIDs)
 {
     var message = new RoleService().delRole(roleIDs);
     return Json(message, JsonRequestBehavior.DenyGet);
 }
예제 #3
0
 public ActionResult getRole(int pageIndex, int pageSize)
 {
     var json = new RoleService().getRole(pageIndex, pageSize);
     return Content(json, "application/json");
 }