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