23 lines
926 B
C#
23 lines
926 B
C#
using AutoMapper;
|
|
|
|
namespace DamageAssesment.Api.DocuLinks.Profiles
|
|
{
|
|
public class DoculinkProfile : AutoMapper.Profile
|
|
{
|
|
public DoculinkProfile()
|
|
{
|
|
CreateMap<Db.Doculink, Models.ResDoculink>() ;
|
|
CreateMap<Db.Doculink, Models.Doculink>();
|
|
CreateMap<Models.Doculink, Db.Doculink>();
|
|
CreateMap<Db.LinkType, Models.ResLinkType>();
|
|
CreateMap<Models.LinkType, Db.LinkType>();
|
|
CreateMap<Db.DoculinkTranslation, Models.DoculinkTranslation>();
|
|
CreateMap<Models.DoculinkTranslation, Db.DoculinkTranslation>();
|
|
CreateMap<Db.LinksTranslation, Models.LinksTranslation>();
|
|
CreateMap<Models.LinksTranslation, Db.LinksTranslation>();
|
|
CreateMap<Db.DoculinkAttachments, Models.DoculinkAttachments>();
|
|
CreateMap<Models.DoculinkAttachments, Db.DoculinkAttachments>();
|
|
}
|
|
}
|
|
}
|