Esempio n. 1
0
        void SetViewbag(int caseId, int?caseSessionId, bool isMainA, bool isFromCase)
        {
            ViewBag.CaseLoadAddActivityId_ddl  = service.GetDDL_CaseLoadAddActivity(caseId);
            ViewBag.CaseLoadElementGroupId_ddl = service.GetDDL_CaseLoadElementGroup(caseId);
            ViewBag.LawUnitId_ddl = caseLawUnitService.CaseLawUnit_OnlyJudge_SelectForDropDownList_ValueLawUnitId(caseId, null);

            if (isFromCase)
            {
                ViewBag.breadcrumbs = commonService.Breadcrumbs_GetForCaseLoadIndex(caseId);
            }
            else
            {
                ViewBag.breadcrumbs = commonService.Breadcrumbs_GetForCaseSession(caseSessionId ?? 0);
            }

            SetHelpFile(HelpFileValues.CaseLoadIndex);
        }