public virtual BOSalesTaxRate MapEFToBO( SalesTaxRate ef) { var bo = new BOSalesTaxRate(); bo.SetProperties( ef.SalesTaxRateID, ef.ModifiedDate, ef.Name, ef.Rowguid, ef.StateProvinceID, ef.TaxRate, ef.TaxType); return(bo); }
public virtual BOSalesTaxRate MapModelToBO( int salesTaxRateID, ApiSalesTaxRateRequestModel model ) { BOSalesTaxRate boSalesTaxRate = new BOSalesTaxRate(); boSalesTaxRate.SetProperties( salesTaxRateID, model.ModifiedDate, model.Name, model.Rowguid, model.StateProvinceID, model.TaxRate, model.TaxType); return(boSalesTaxRate); }