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