示例#1
0
 public async Task <IActionResult> Index()
 {
     return(View(await _borrowRepo.GetAllBorrowsAsync()));
 }
示例#2
0
 public async Task <ICollection <Borrow> > GetAllBorrows()
 {
     return(await _borrowRepo.GetAllBorrowsAsync());
 }