public ActionResult AddSession(Session Session) { Sessionservice Sessionservices = new Sessionservice(); Sessionservices.saveSession(Session); return(View()); }
public ActionResult EditSession(int id) { Sessionservice Sessionservices = new Sessionservice(); var Session = Sessionservices.getbyid(id); return(View(Session)); }
public ActionResult listingsession() { Sessionservice sessionservice = new Sessionservice(); var Listsession = sessionservice.getsession(); return(View(Listsession)); }
public ActionResult EditSession(Session Session) { Sessionservice Sessionservices = new Sessionservice(); Sessionservices.updateSession(Session); return(View("AddSession")); }