public static void Configure()
    {
        //ToDto
        Mapper.CreateMap <TestClassPDto, TestClassPLogical>();

        //ToLogical
        Mapper.CreateMap <TestClassPLogical, TestClassPDto>();

        //What I changed
        TestClassMapper.Configure();
    }
예제 #2
0
 public void Setup()
 {
     TestClassMapper.Configure();
 }