mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 18:37:18 +02:00
17 lines
498 B
C#
17 lines
498 B
C#
using AutoMapper;
|
|
using WotBlitzStatisticsPro.Common.Model;
|
|
using WotBlitzStatisticsPro.WgApiClient.Model;
|
|
|
|
namespace WotBlitzStatisticsPro.Logic.Mappers
|
|
{
|
|
public class AccountSearchResponseProfile : Profile
|
|
{
|
|
public AccountSearchResponseProfile()
|
|
{
|
|
CreateMap<WotAccountListResponse, AccountsSearchResponseItem>()
|
|
.ForMember(
|
|
d => d.AccountId,
|
|
o => o.MapFrom(s => s.AccountId.Value));
|
|
}
|
|
}
|
|
} |