public async Task Update(BaseViewModel <TEntity> viewModel)
        {
            if (viewModel.Model == null)
            {
                return;
            }

            await Repository.UpdateAsync(viewModel.Model).ConfigureAwait(false);
        }
Example #2
0
 public async Task HandleAsync(QuoteRiskUpdateCommand command)
 {
     await riskRepository.UpdateAsync(command);
 }