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