using AutoMapper; namespace DamageAssesment.Api.Documents.Profiles { public class DocumentProfile : AutoMapper.Profile { public DocumentProfile() { CreateMap().ForMember(dest => dest.LinkType, opt => opt.MapFrom(src => src.LinkType.TypeText)); ; CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); CreateMap(); } } }