Newer
Older
TheCleanArchitecture / src / Application / Common / Mappings / IMapFrom.cs
@Derek Comartin Derek Comartin on 15 Jun 2021 212 bytes Reorganized
using AutoMapper;

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