public IActionResult deleteitem(int cartid)
 {
     try
     {
         ir.DeleteItem(cartid);
         return(Ok());
     }
     catch (Exception e)
     {
         return(NotFound(e.Message));
     }
 }