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