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