public void HandleAsync(AlbumDeletedEvent message) { if (message.DeleteFiles) { _mediaFileRepository.DeleteFilesByAlbum(message.Album.Id); } else { _mediaFileRepository.UnlinkFilesByAlbum(message.Album.Id); } }