Пример #1
0
 public static BusinessCore.Domain.Purchases.Vendor ToEntity(this Vendor.VendorModel model, BusinessCore.Domain.Purchases.Vendor destination)
 {
     return(model.MapTo(destination));
 }
Пример #2
0
 public static Vendor.VendorModel ToModel(this BusinessCore.Domain.Purchases.Vendor entity)
 {
     return(entity.MapTo <BusinessCore.Domain.Purchases.Vendor, Vendor.VendorModel>());
 }