コード例 #1
0
        public ActionResult Create()
        {
            var incomeTypes = repository.GetIncomeTypes();

            ViewData["IncomeTypes"] = new SelectList(incomeTypes, "IncomeTypeId", "Description");

            return(View());
        }