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