//GET: AccountConfiguration/CurrentConfig public ActionResult CurrentConfig() { CurrentConfig config = _contextCurrent.GetCurrentConfig(); CurrentConfigurationViewModels viewModel = new CurrentConfigurationViewModels(config) { IncomeAccount = _contextGlAccount.GetIncomeAccount(), ExpenseAccount = _contextGlAccount.GetExpenseAccount(), PayableAccount = _contextGlAccount.GetPayableAccount() }; return(View(viewModel)); }