public void AssignUnassignPermission(int systemRoleId, int permissionId, bool assign, string whoCreated) { using (var context = new SsepsIIEntities()) context.AssignUnassignPermissionToRole(systemRoleId, permissionId, assign, whoCreated); }