Esempio n. 1
0
        public IActionResult Create()
        {
            ViewBag.LstStudent = _universityService.GetUsersBy_Role("ALUMNO");
            ViewBag.LstCourses = _universityService.GetCourses();

            return(View());
        }
Esempio n. 2
0
 public IActionResult Index()
 {
     return(View(_universityService.GetCourses()));
 }