public async Task <IActionResult> DeleteLoan(LoanViewModel view) { await repository.DeleteLoanAsync(view.IMPRUMUT); return(RedirectToAction("AfisareImprumuturi", "Loan", view)); }