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