Example #1
0
        public ActionResult AddSession(Session Session)
        {
            Sessionservice Sessionservices = new Sessionservice();

            Sessionservices.saveSession(Session);
            return(View());
        }
Example #2
0
        public ActionResult EditSession(int id)
        {
            Sessionservice Sessionservices = new Sessionservice();
            var            Session         = Sessionservices.getbyid(id);

            return(View(Session));
        }
Example #3
0
        public ActionResult listingsession()
        {
            Sessionservice sessionservice = new Sessionservice();
            var            Listsession    = sessionservice.getsession();

            return(View(Listsession));
        }
Example #4
0
        public ActionResult EditSession(Session Session)

        {
            Sessionservice Sessionservices = new Sessionservice();

            Sessionservices.updateSession(Session);
            return(View("AddSession"));
        }