using System.Collections.Generic; using AutoMapper; using WotBlitzStatisticsPro.Common.Dictionaries; using WotBlitzStatisticsPro.DataAccess.Model; using WotBlitzStatisticsPro.WgApiClient.Model; namespace WotBlitzStatisticsPro.Logic.Mappers { public class AchievementDictionaryProfile : Profile { public AchievementDictionaryProfile() { CreateMap() .ForMember(d => d.Name, o => o.MapFrom(_ => new List())) .ForMember(d => d.Condition, o => o.MapFrom(_ => new List())) .ForMember(d => d.Description, o => o.MapFrom(_ => new List())) .ForMember(d => d.HeroInfo, o => o.MapFrom(_ => new List())) .ForMember(d => d.SectionId, o => o.MapFrom(s => s.Section)) .ForMember(d => d.Options, o => o.Ignore()); } } }