public ActionResult Create(Section sections) { DAl.Irepository <Section> s = new section_manager(); s.add(sections); return(View()); }
public ActionResult Edit(Section sections) { DAl.Irepository <Section> s = new section_manager(); s.update(sections); return(View()); }
// GET: student_ public ActionResult Index(string text) { DAl.Irepository <Section> s = new section_manager(); var z = s.select(); return(View(z)); }
public ActionResult Delete(Section sections) { DAl.Irepository <Section> s = new section_manager(); s.delete(sections); return(RedirectToAction("Index")); }