public ActionResult EditBee(Bee bee_) { db1.Entry(bee_).State = EntityState.Modified; db1.SaveChanges(); return RedirectToAction("IndexBee"); }
public ActionResult AddBee(Bee bee_) { db1.Bees.Add(bee_); db1.SaveChanges(); return RedirectToAction("IndexBee"); }