public async Task Update(BaseViewModel <TEntity> viewModel) { if (viewModel.Model == null) { return; } await Repository.UpdateAsync(viewModel.Model).ConfigureAwait(false); }
public async Task HandleAsync(QuoteRiskUpdateCommand command) { await riskRepository.UpdateAsync(command); }