Example #1
0
 public static Address ToEntity(this AddressDto model)
 {
     return(model.MapTo <AddressDto, Address>());
 }
Example #2
0
 public static Address ToEntity(this AddressDto model, Address destination)
 {
     return(model.MapTo(destination));
 }
Example #3
0
 public static Address ToEntity(this AddressDto addressDto)
 {
     return(addressDto.MapTo <AddressDto, Address>());
 }