public SafetyPhraseDto Map(SafetyPhrase entity)
 {
     return new SafetyPhraseDto
            {
                Id = entity.Id,
                Title = entity.Title,
                ReferenceNumber = entity.ReferenceNumber,
                HazardousSubstanceStandard = entity.HazardousSubstanceStandard,
                RequiresAdditionalInformation = entity.RequiresAdditionalInformation.GetValueOrDefault()
            };
 }
 private static string GetSafetyPhraseAdditionalInformation(AddHazardousSubstanceRequest request, SafetyPhrase safetyPhrase)
 {
     return request.AdditionalInformation.Where(x =>x.SafetyPhaseId ==safetyPhrase.Id).Select(x => x.AdditionalInformation).FirstOrDefault();
 }