public async Task Handle(ClientHistoryExpiredEvent evt) { var id = await _fileMapper.MapAsync(evt.ClientId, evt.Id); await _fileUploader.RemoveAsync(id, FileType.Csv); }
public Task Handle(ClientHistoryExpiredEvent evt) { return(_repository.Remove(evt.ClientId, evt.Id)); }