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