public virtual BOTransactionHistory MapEFToBO(
            TransactionHistory ef)
        {
            var bo = new BOTransactionHistory();

            bo.SetProperties(
                ef.TransactionID,
                ef.ActualCost,
                ef.ModifiedDate,
                ef.ProductID,
                ef.Quantity,
                ef.ReferenceOrderID,
                ef.ReferenceOrderLineID,
                ef.TransactionDate,
                ef.TransactionType);
            return(bo);
        }
        public virtual BOTransactionHistory MapModelToBO(
            int transactionID,
            ApiTransactionHistoryRequestModel model
            )
        {
            BOTransactionHistory boTransactionHistory = new BOTransactionHistory();

            boTransactionHistory.SetProperties(
                transactionID,
                model.ActualCost,
                model.ModifiedDate,
                model.ProductID,
                model.Quantity,
                model.ReferenceOrderID,
                model.ReferenceOrderLineID,
                model.TransactionDate,
                model.TransactionType);
            return(boTransactionHistory);
        }