public ActionResult EventsAccessRoles_Bind(EventPermissionModel model) { actionResult = new ActionResult(); try { actionResult.dtResult = EventDL.EventsAccessRoles_Bind(model); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { } return(actionResult); }