public IActionResult Edit(Product product)
 {
     db.Entry(product).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
 public IActionResult Edit(Section section)
 {
     db.Entry(section).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }