예제 #1
0
        public ActionResult Guncelle(tbl_oduller o)
        {
            var odul = db.tbl_oduller.Find(o.ID);

            odul.ODULLER = o.ODULLER;
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
예제 #2
0
 public ActionResult YeniOdul(tbl_oduller o)
 {
     db.tbl_oduller.Add(o);
     db.SaveChanges();
     return(View());
 }