public IActionResult Index()
        {
            List <Student> students = StudentDb.GetStudents(context);

            return(View(students));
        }
Esempio n. 2
0
        public async Task <IActionResult> Index()
        {
            List <Student> students = await StudentDb.GetStudents(context);

            return(View(students));
        }