Exemple #1
0
        public async Task <ActionResult> SellWithQuantity(string productId)
        {
            var apiRep = new APIResponse();
            var stocks = await _stockService.CountInStock(productId);

            apiRep.Error = false;
            apiRep.Data  = stocks;
            return(Ok(apiRep));
        }