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