Example #1
0
 public static BusinessCore.Domain.Sales.Customer ToEntity(this CustomerModel model, BusinessCore.Domain.Sales.Customer destination)
 {
     return(model.MapTo(destination));
 }
Example #2
0
 public static CustomerModel ToModel(this BusinessCore.Domain.Sales.Customer entity)
 {
     return(entity.MapTo <BusinessCore.Domain.Sales.Customer, CustomerModel>());
 }