Пример #1
0
 private void ValidatePhotoGroupExists(int id)
 {
     if (!_photoGroupRepository.Exists(id))
     {
         throw new BusinessException($"Photo group with id: {id} does not exist");
     }
 }