public ActionResult guncelle(Tbl_Dersler p)
        {
            var bul = db.Tbl_Dersler.Find(p.DersId);

            bul.DersAd = p.DersAd;
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        public ActionResult Guncelle(Tbl_Dersler p)
        {
            var ders = db.Tbl_Dersler.Find(p.DERSID);

            ders.DERSAD = p.DERSAD;
            db.SaveChanges();
            return(RedirectToAction("Index", "Default"));
        }
 public ActionResult dersekle(Tbl_Dersler p)
 {
     db.Tbl_Dersler.Add(p);
     db.SaveChanges();
     return(View());
 }