public ActionResult Account() { List <AccountCategory> accCates = _account.GetMainAccountCategory(); List <AuxiliaryType> auxTypes = _auxiliary.GetAuxiliaryType(); AccountControllerViewModel account = new AccountControllerViewModel(); account.AccountCategorys = Mapper.Map <List <AccountCategoryViewModel> >(accCates); account.AuxiliaryTypes = Mapper.Map <List <AuxiliaryTypeViewModel> >(auxTypes); return(View(account)); }