add automapper

This commit is contained in:
chsakell
2016-09-30 10:36:22 +03:00
parent a0cc12f3fb
commit d0690695b6
8 changed files with 71 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
using AutoMapper;
namespace LiveGameFeed.Mappings
{
public class AutoMapperConfiguration
{
public static void Configure()
{
Mapper.Initialize(x =>
{
x.AddProfile<DomainToViewModelMappingProfile>();
});
}
}
}