public static BusinessCore.Domain.Sales.SalesInvoiceHeader ToEntity(this Sale.InvoiceModel model, BusinessCore.Domain.Sales.SalesInvoiceHeader destination) { return(model.MapTo(destination)); }
public static Sale.InvoiceModel ToModel(this BusinessCore.Domain.Sales.SalesInvoiceHeader entity) { return(entity.MapTo <BusinessCore.Domain.Sales.SalesInvoiceHeader, Sale.InvoiceModel>()); }