public static BusinessCore.Domain.Purchases.Vendor ToEntity(this Vendor.VendorModel model, BusinessCore.Domain.Purchases.Vendor destination) { return(model.MapTo(destination)); }
public static Vendor.VendorModel ToModel(this BusinessCore.Domain.Purchases.Vendor entity) { return(entity.MapTo <BusinessCore.Domain.Purchases.Vendor, Vendor.VendorModel>()); }