分类:
.net core
我们这里可以使用异步的方式来读取与返回数据
public async Task<IActionResult> Index() { return View(await _context.Students.ToListAsync()); }
评价
我们这里可以使用异步的方式来读取与返回数据
public async Task<IActionResult> Index() { return View(await _context.Students.ToListAsync()); }