public DTO.MedicationMap InitializeMedicationMap(PostInitializeMedicationMapRequest request) { DTO.MedicationMap med = null; try { MedicationMapData data = EndpointUtil.InitializeMedicationMap(request); if (data != null) { med = Mapper.Map <DTO.MedicationMap>(data); } return(med); } catch (Exception ex) { throw ex; } }