public async Task SetupUsedServices(IEnumerable <ServiceDto> services)
 {
     await Task.Run(() => usedServices = services.Select(x => mapper.GetCopy(x)));
 }
Beispiel #2
0
 public async Task SetupFilledProducts(IEnumerable <OrderedProductDto> productDtos)
 {
     await Task.Run(() => orderedProducts = productDtos.Select(x => mapper.GetCopy(x)).ToList());
 }