Esempio n. 1
0
 public async Task AddQuantity(int SKU, int amount)
 {
     await _iInventoryRepository.AddQuantity(SKU, amount);
 }
Esempio n. 2
0
        public async Task UpdateProduct(int SKU, ProductTO product)
        {
            await _productsRepository.UpdateProduct(SKU, new Product(product));

            await _inventoryRepository.AddQuantity(SKU, product.Quantity);
        }