using AutoMapper;

namespace MyNewProjectName.Application.Mappings;

/// <summary>
/// Interface for auto mapping registration
/// </summary>
public interface IMapFrom<T>
{
    void Mapping(Profile profile) => profile.CreateMap(typeof(T), GetType());
}
