public static IServiceCollection AddMapper(this IServiceCollection services) { Mapper.Reset(); services.AddAutoMapper(); MappingProfile.Init(); return(services); }
public virtual void Setup() { MappingProfile.Init(); }