Exemple #1
0
 public IActionResult Edit(Review item)
 {
     db.Entry(item).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
 public Gummi Edit(Gummi gummi)
 {
     db.Entry(gummi).State = EntityState.Modified;
     db.SaveChanges();
     return gummi;
 }
 public IActionResult Edit(Product product)
 {
     db.Entry(product).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Exemple #4
0
 public IActionResult Edit(Blog blog)
 {
     db.Entry(blog).State = EntityState.Modified;
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Exemple #5
0
 public Review Edit(Review review)
 {
     db.Entry(review).State = EntityState.Modified;
     db.SaveChanges();
     return(review);
 }