public IActionResult IndexSpr() { var model = new CourtLawUnitFilter() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), }; return(View(model)); }
/// <summary> /// Страница с Длъжностни лица /// </summary> /// <returns></returns> public IActionResult IndexSpr() { ViewBag.PeriodTypeId_ddl = nomService.GetDropDownList <PeriodType>(); var model = new CourtLawUnitFilter() { DateFrom = NomenclatureExtensions.GetStartYear(), DateTo = NomenclatureExtensions.GetEndYear(), }; return(View(model)); }