17 lines
438 B
C#
17 lines
438 B
C#
using AutoMapper;
|
|
using TOOHUCardAPI.Data.Models;
|
|
using TOOHUCardAPI.DTO;
|
|
using TOOHUCardAPI.DTO.PlayerData;
|
|
|
|
namespace TOOHUCardAPI.Data
|
|
{
|
|
public class AutomapProfile : Profile
|
|
{
|
|
public AutomapProfile()
|
|
{
|
|
CreateMap<User, PlayerDataGetResponseObjectPlayer>().ForMember(i => i.EncodedCardGroups, opt => opt.Ignore());
|
|
CreateMap<User, PlayerBaseDataResponse>();
|
|
|
|
}
|
|
}
|
|
} |