예제 #1
0
 // GET: Vouchers/Create
 public IActionResult Create()
 {
     ViewData["NextId"]       = _voucherData.GetMaxVoucherId() + 1;
     ViewData["FiscalYearId"] = new SelectList(_fiscalYearData.GetFiscalYears(), "FiscalYearId", "YearDescription");
     return(View());
 }
예제 #2
0
        // GET: AccountLedgers/Create
        public IActionResult Create()
        {
            ViewData["FiscalYearId"] = new SelectList(_fiscalYearData.GetFiscalYears(), "FiscalYearId", "YearDescription");

            return(View());
        }