public IHttpActionResult DeleteInventory(int id)
 {
     try
     {
         _repository.Delete(id);
     }
     catch (Exception ex)
     {
         throw;
     }
     return(Ok());
 }