public ActionResult Delete(int id, StudentEntities.Entities.Product model)
 {
     try
     {
         // TODO: Add delete logic here
         _productComponent.DeleteProduct(id);
         return(RedirectToAction(nameof(DisplayProducts), _productComponent.GetProducts()));
     }
     catch
     {
         return(View());
     }
 }