void SetViewbagOutList() { ViewBag.FromCourtId_ddl = commonService.CourtForDelivery_SelectDDL(-1); ViewBag.LawUnitId_ddl = courtLawUnitService.LawUnitForCourt_SelectDDL(NomenclatureConstants.LawUnitTypes.MessageDeliverer, userContext.CourtId); ViewBag.CaseGroupId_ddl = nomService.GetDropDownList <CaseGroup>(); ViewBag.CaseTypeId_ddl = nomService.GetDDL_CaseType(-1);//GetDropDownList<CaseType>(); }
public IActionResult GetDDL_CaseType(int caseGroupId, bool addDefaultElement = true) { var model = nomenclatureService.GetDDL_CaseType(caseGroupId, addDefaultElement); return(Json(model)); }