Files
2026-02-26 14:04:18 +07:00

12 lines
253 B
C#

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());
}