Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Common / AutoMapperConfiguration / AutoMapperExtensions.cs
blob: a17e1bbf78d0f04529cf7038cd270637b8ed203c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
namespace AutoMapperConfiguration
{
    public static class AutoMapperExtensions
    {
        public static T To<T>(this object source)
        {
            return AutoMapperConfig.Mapper.Map<T>(source);
        }
    }
}