Files
MireaBackend/Application/Common/Mappings/IMapWith.cs
2024-01-08 16:11:01 +03:00

9 lines
201 B
C#

using AutoMapper;
namespace Mirea.Api.DataAccess.Application.Common.Mappings;
public interface IMapWith<T>
{
void Mapping(Profile profile) =>
profile.CreateMap(typeof(T), GetType());
}