void SetViewbag(int courtId) { ViewBag.showButtons = true; ViewBag.FromCourtId_ddl = commonService.CourtForDelivery_SelectDDL(courtId); ViewBag.CourtId_ddl = ViewBag.FromCourtId_ddl; ViewBag.AddressTypesDDL = nomService.GetDropDownList <AddressType>(); ViewBag.CountriesDDL = nomService.GetCountries(); ViewBag.NotificationStateId_ddl = nomService.GetDDL_NotificationStateFromDeliveryGroup( NomenclatureConstants.NotificationDeliveryGroup.WithSummons, -1 ); ViewBag.NotificationDeliveryGroupId_ddl = service.NotificationDeliveryGroupSelect(); }