public IActionResult LawUnits_LoadByDuty(int courtDutyId, int caseId) { ViewBag.RoleId = NomenclatureConstants.JudgeRole.JudgeReporter; var model = service.LawUnit_LoadByCourtDutyId(courtDutyId, caseId, userContext.CourtId, NomenclatureConstants.JudgeRole.JudgeReporter); //ViewData.TemplateInfo.HtmlFieldPrefix = model.GetPath; SetViewBagLawUnits(NomenclatureConstants.SelectionMode.SelectByDuty); return(PartialView("_LoadedLawUnits", model)); }