Exemple #1
0
        public ActionResult Index()
        {
            var listaClase = new ClasaBusiness().GetClase();
            var loggedUser = User.Identity.Name;

            return(View(listaClase));
        }
Exemple #2
0
        public ActionResult Edit(int id)
        {
            var model = new ClasaBusiness().Get(id);

            return(View(model));
        }