Files
schengen-visa/SchengenVisaApi/Infrastructure/Automapper/Profiles/PlaceOfWorkProfile.cs
2024-08-26 11:33:31 +03:00

15 lines
416 B
C#

using ApplicationLayer.Services.Applicants.Models;
using AutoMapper;
using Domains.ApplicantDomain;
namespace Infrastructure.Automapper.Profiles;
public class PlaceOfWorkProfile : Profile
{
public PlaceOfWorkProfile()
{
CreateMap<PlaceOfWorkModel, PlaceOfWork>(MemberList.Destination)
.ForMember(p => p.Id,
opts => opts.UseDestinationValue());
}
}