public async Task <IActionResult> Index() { return(View(await _borrowRepo.GetAllBorrowsAsync())); }
public async Task <ICollection <Borrow> > GetAllBorrows() { return(await _borrowRepo.GetAllBorrowsAsync()); }