public async Task <IActionResult> Delete(string photoId, string albumId) { await _photoRepository.DeletePhotoAsync(photoId, albumId); _logger.LogInformation($"Photo with photoId={photoId} was successfully deleted from album with albumId={albumId}."); return(Ok()); }