public async Task <IActionResult> Details(int?id) { if (id == null) { return(NotFound()); } var loanAccount = await _gLAccountService.RetrieveLoanAccountAsync(id.Value); if (loanAccount == null) { return(NotFound()); } return(View(loanAccount)); }