示例#1
0
 void SetViewbag(int filterCaseGroupId)
 {
     ViewBag.CaseGroupId_ddl       = nomService.GetDropDownList <CaseGroup>();
     ViewBag.filterCaseGroupId_ddl = nomService.GetDropDownList <CaseGroup>();
     ViewBag.CaseTypeId_ddl        = nomService.GetDDL_CaseTypeForCourt(userContext.CourtId);
     ViewBag.filterCaseGroupId     = filterCaseGroupId;
     ViewBag.caseTypeJson          = JsonConvert.SerializeObject(nomService.CaseTypeNow(userContext.CourtId).Select(x => new { x.Id, x.Label, x.CaseGroupId }).ToList());
 }