Beispiel #1
0
		public LoadModalityEditorFormDataResponse LoadModalityEditorFormData(LoadModalityEditorFormDataRequest request)
		{
			var facilityAssembler = new FacilityAssembler();
			return new LoadModalityEditorFormDataResponse
			{
				FacilityChoices = PersistenceContext.GetBroker<IFacilityBroker>().FindAll(false).Select(facilityAssembler.CreateFacilitySummary).ToList(),
				DicomModalityChoices = EnumUtils.GetEnumValueList<DicomModalityEnum>(this.PersistenceContext)
			};
		}
Beispiel #2
0
        public LoadModalityEditorFormDataResponse LoadModalityEditorFormData(LoadModalityEditorFormDataRequest request)
        {
            var facilityAssembler = new FacilityAssembler();

            return(new LoadModalityEditorFormDataResponse
            {
                FacilityChoices = PersistenceContext.GetBroker <IFacilityBroker>().FindAll(false).Select(facilityAssembler.CreateFacilitySummary).ToList(),
                DicomModalityChoices = EnumUtils.GetEnumValueList <DicomModalityEnum>(this.PersistenceContext)
            });
        }