private void DeleteJobAdSearch(Guid deleterId, JobAdSearch search) { if (!CanAccessSearch(deleterId, search)) { throw new JobAdSearchesPermissionsException(deleterId, search.Id); } _repository.DeleteJobAdSearch(search.Id); }