Beispiel #1
0
 public ActionResult BolumDuzenle(BOLUM bol)
 {
     context.Entry(bol).State = System.Data.Entity.EntityState.Modified;
     context.SaveChanges();
     return(RedirectToAction("ListeBilgileriBolum"));
 }
Beispiel #2
0
 public ActionResult BolumEkle(BOLUM bol)
 {
     context.BOLUM.Add(bol);
     context.SaveChanges();
     return(RedirectToAction("ListeBilgileriBolum"));
 }