using AutoMapper; using Serwer.Core.Domain; using Serwer.Infrastructure.DTO; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Serwer.Infrastructure.Mappers { public static class AutoMapperConfig { public static IMapper Initialize() => new MapperConfiguration(cfg => { cfg.CreateMap(); }) .CreateMapper(); } }