public void ModifyAccessControlLevel(AccessControlLevel accessControlLevel) { if (accessControlLevel.IsNull()) { return; } this.accessControlLevelRepository.Update(accessControlLevel); }
public void CreateAccessControlLevel(AccessControlLevel accessControlLevel) { if (accessControlLevel.IsNull()) { throw new ArgumentNullException("accessControlLevel"); } this.accessControlLevelRepository.Insert(accessControlLevel); }
public void DeleteAccessControlLevel(int accessControlLevelId) { if (accessControlLevelId == 0) { return; } AccessControlLevel accessControlLevel = this.GetAccessControlLevelById(accessControlLevelId); if (accessControlLevel.IsNull()) { return; } this.accessControlLevelRepository.Delete(accessControlLevel); }