Beispiel #1
0
 public async Task <ProductsReportDto> GetAsync(Guid id)
 => await _productsReportRepository.GetAsync(id)
 .ContinueWith(t => Map(t.Result));
 public async Task <ProductsReportDto> HandleAsync(GetProductsReport query)
 => await _productsReportRepository.GetAsync(query.Id)
 .ContinueWith(t => Map(t.Result));