public ActionResult Create(MeditationKitMaster Meditationkitmaster) { if (ModelState.IsValid) { db.MeditationKitMasters.Add(Meditationkitmaster); db.SaveChanges(); return RedirectToAction("Index"); } return View(Meditationkitmaster); }
public ActionResult Edit(MeditationKitMaster Meditationkitmaster) { if (ModelState.IsValid) { db.Entry(Meditationkitmaster).State = EntityState.Modified; db.SaveChanges(); return RedirectToAction("Index"); } return View(Meditationkitmaster); }