コード例 #1
0
        // GET: BankAccounts/Create
        public ActionResult Create(int houseId)
        {
            var createAccount = new AccountWithHouseVM
            {
                HouseholdId  = houseId,
                BAccountType = bank.GetAccountTypeSelectList()
            };

            return(View(createAccount));
        }
コード例 #2
0
        //GET: CreateHouseWithWizard
        public ActionResult CreateHouseWithWizard()
        {
            var accountVM = new CreateAccountVM
            {
                BAccountType = accountHelper.GetAccountTypeSelectList()
            };
            var wizard = new HouseWizardVM
            {
                CreateAccount = accountVM
            };

            return(View(wizard));
        }