コード例 #1
0
        public ActionResult AddAccountSubCategory(AccountSubCategory model)
        {
            _financialService.AddAccountSubCategory(new AccountSubCategory()
            {
                AccountSubCategoryName = model.AccountSubCategoryName,
                AccountId = model.AccountId,
                // AccountClassId = model.AccountClassId,
                Description = model.Description

                              //AccountName = Model.AccountName,
                              //SubCategory = Model.SubCategory
            });


            // return RedirectToAction("Accounts");
            return(RedirectToAction("SubCategories"));
        }