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 YeniDers(TBL_Dersler p)
 {
     db.TBL_Dersler.Add(p);
     db.SaveChanges();
     return(View());
 }