Exemple #1
0
 public void MapFrom(CallRecord source)
 {
     Customer = source?.Customer?.MapTo(x => new CustomerDTO());
     User     = source?.User?.MapTo(x => new UserDTO());
 }
Exemple #2
0
 public void MapFrom(Order source)
 {
     Customer       = source?.Customer?.MapTo(x => new CustomerDTO());
     User           = source?.User?.MapTo(x => new UserDTO());
     IntroducerUser = source?.IntroducerUser?.MapTo(x => new UserDTO());
 }