public IActionResult GetAllItems()
 {
     try
     {
         return(Ok(_ibuyrepo.GetAllItems()));
     }
     catch (Exception ex)
     {
         return(NotFound(ex.Message));
     }
 }
 public IActionResult Get()
 {
     try
     {
         return(Ok(_repo.GetAllItems()));
     }
     catch (Exception e)
     {
         return(NotFound(e.InnerException.Message));
     }
 }