public ActionResult BindRolePermissionGrid(string sidx, string sord, int page, int rows, string filters, long lgRoleId) { try { List <GetPagePermissionResult> lstRolePermission = _permissionChecker.GerRolePermissionByRoleId(lgRoleId); if (lstRolePermission != null) { return(FillRollPermissionGrid(lstRolePermission)); } else { return(Json(string.Empty)); } } catch (Exception ex) { Logger.Write(ex, System.Reflection.MethodBase.GetCurrentMethod().Name, PageMaster.Role); return(Json(string.Empty, JsonRequestBehavior.AllowGet)); } }