namespace Indotalent.ConfigBackEnd.Mappings; using AutoMapper; public interface IMapFrom { void Mapping(Profile profile) => profile.CreateMap(typeof(T), GetType()); }