using AutoMapper; namespace AipGateway.API.Domain.IServices.IUtilities { public interface IMapFrom { void Mapping(Profile profile) => profile.CreateMap(typeof(T), GetType()); } }