public virtual BOTransactionHistoryArchive MapEFToBO(
            TransactionHistoryArchive ef)
        {
            var bo = new BOTransactionHistoryArchive();

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

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