using AutoMapper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ips.Sps.Mappers { public static class SpsMapper { public static IMapper Default; static SpsMapper() { var config = new MapperConfiguration(cfg => cfg.AddProfile()); Default = config.CreateMapper(); } } }