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

15 lines
368 B
C#

using ApplicationLayer.Services.AuthServices.Common;
using AutoMapper;
using Domains.Users;
namespace Infrastructure.Automapper.Profiles;
public class UserProfile : Profile
{
public UserProfile()
{
CreateMap<AuthData, User>(MemberList.Destination)
.ForMember(u => u.Role,
opts => opts.Ignore());
}
}