using AutoMapper; using PokemonSleepAPI.Models; using PokemonSleepAPI.Models.Dto; namespace PokemonSleepAPI { public class MappingConfig { public static MapperConfiguration RegisterMaps() { var mappingConfig = new MapperConfiguration(config => { config.CreateMap(); config.CreateMap(); config.CreateMap(); config.CreateMap(); config.CreateMap(); config.CreateMap(); }); return mappingConfig; } } }