Beispiel #1
0
        public async Task AddOrderAsync(string remarks, int quantity)
        {
            if (quantity < 1)
            {
                throw new Exception("Quantity should be more than 0");
            }

            await _orderProvider.AddOrderAsync(remarks, quantity);
        }