Ejemplo n.º 1
0
        //GET : /Class/Update
        public ActionResult Update(int id)
        {
            ClassDataController controller = new ClassDataController();
            Class SelectedClass            = controller.FindClass(id);

            return(View(SelectedClass));
        }
Ejemplo n.º 2
0
        // GET: /Class/DeleteConfirm/{id}
        public ActionResult ConfirmDelete(int id)
        {
            ClassDataController controller = new ClassDataController();
            Class NewClass = controller.FindClass(id);

            return(View(NewClass));
        }