public async Task <IActionResult> AddProduct(Product product)
        {
            if (await _repo.ProductExists(product.ProductName, product.ShopID))
            {
                return(BadRequest("Product Name already exists"));
            }

            _repo.Add(product);
            return(StatusCode(201));
        }
        public async Task <IActionResult> Addshop(Shop shop)
        {
            if (await _repo.ShopExists(shop.ShopName))
            {
                return(BadRequest("Shop Name already exists"));
            }

            _repo.Add(shop);
            return(StatusCode(201));
        }
 public ActionResult AddLineItem(LineItem lineItem)
 {
     _repo.Add(lineItem);
     return(StatusCode(201));
 }
 public ActionResult AddOrder(Order order)
 {
     _repo.Add(order);
     return(StatusCode(201));
 }