mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-24 11:50:05 +02:00
CLeanup and restructurisation
This commit is contained in:
1 parent
bfb9f11035
commit
8faccd45c9
104 files changed
+124
-2056
No files matched your search
@@ -0,0 +1,17 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using AutoMapper;
|
||||
using WotBlitzStatisticsPro.Common.Model;
|
||||
using WotBlitzStatisticsPro.WgApiClient.Model;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Logic.Mappers
|
||||
{
|
||||
public class ClanSearchResponseProfile: Profile
|
||||
{
|
||||
public ClanSearchResponseProfile()
|
||||
{
|
||||
CreateMap<WotClanListResponse, ClanSearchResponseItem>()
|
||||
.ForMember(
|
||||
d => d.ClanId,
|
||||
o => o.MapFrom(s => s.ClanId.Value));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user