public IActionResult GetCount(string buyerid)
 {
     try
     {
         return(Ok(_ibuyrepo.GetCount(buyerid)));
     }
     catch (Exception ex)
     {
         return(NotFound(ex.Message));
     }
 }
 public IActionResult GetCart(string Bid)
 {
     try
     {
         return(Ok(_repo.GetCount(Bid)));
     }
     catch (Exception e)
     {
         return(NotFound(e.InnerException.Message));
     }
 }