public void MapFrom(CallRecord source) { Customer = source?.Customer?.MapTo(x => new CustomerDTO()); User = source?.User?.MapTo(x => new UserDTO()); }
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()); }