public IActionResult AfisareImprumuturi() { var loans = new LoanViewModel { IMPRUMUTs = repository.GetAllLoansAsync().Result.ToList() }; return(View(loans)); }