public async Task <IActionResult> ChartofAccount() { var user = await _userManager.FindByNameAsync(User.Identity.Name); if (user != null) { var pendingChartofAccount = _approvalRepository.GetPendingChartofAccount(user.UserName); var model = new BranchViewModel { StatusMessage = StatusMessage }; return(View(pendingChartofAccount)); } return(View()); }