Clans search method

This commit is contained in:
Mikhail Shabanov committed 2020-05-19 14:22:47 +02:00
1 parent ed770e8c30
commit 5b88704edf
13 files changed
+179 -1

No files matched your search

@@ -0,0 +1,18 @@
using AutoMapper;
using WotBlitzStatisticsPro.Common.Model;
using WotBlitzStatisticsPro.WgApiClient.Model;
namespace WotBlitzStatistics.Logic.Mappers
{
public class ClanSearchResponseProfile: Profile
{
public ClanSearchResponseProfile()
{
CreateMap<WotClanListResponse, ClanSearchResponseItem>()
.ForMember(
d => d.ClanId,
o => o.MapFrom(s => s.ClanId.Value));
}
}
}