Exemplo n.º 1
0
        public ActionResult Editclasses(classes classes)
        {
            classservice classesservice = new classservice();

            classesservice.updateclasses(classes);
            return(View("Addclasses"));
        }
Exemplo n.º 2
0
        public ActionResult Addclasses(classes classes)
        {
            classservice classesservice = new classservice();

            classesservice.saveclasses(classes);
            return(View());
        }
Exemplo n.º 3
0
        public ActionResult Editclasses(int id)
        {
            classservice classesservice = new classservice();
            var          classes        = classesservice.getbyid(id);

            return(View(classes));
        }
Exemplo n.º 4
0
        public ActionResult listingClass()
        {
            classservice classservice = new classservice();
            var          ListClass    = classservice.getclasses();

            return(View(ListClass));
        }