public ActionResult Guncelle(tbl_oduller o) { var odul = db.tbl_oduller.Find(o.ID); odul.ODULLER = o.ODULLER; db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult YeniOdul(tbl_oduller o) { db.tbl_oduller.Add(o); db.SaveChanges(); return(View()); }