/// <summary>
        /// Creator: Jaeho Kim
        /// Created: 4/04/2020
        /// Approver:  Rasha Mohammed
        ///
        /// Method to test insert transaction
        /// </summary>
        /// <remarks>
        /// Updater: NA
        /// Updated: NA
        /// </remarks>
        /// <param name="transaction">The transaction object that is added to the database</param>
        public int InsertTransaction(Transaction transaction)
        {
            int result = 0;
            FakeTransactionAccessor fakeTransactionAccessor = new FakeTransactionAccessor();
            List <Transaction>      transactions            = fakeTransactionAccessor.SelectAllTransactions();

            if (!transactions.Contains(transaction))
            {
                transactions.Add(transaction);
                result = 1;
            }
            return(result);
        }
        /// <summary>
        /// Creator: Jaeho Kim
        /// Created: 4/04/2020
        /// Approver:  Rasha Mohammed
        ///
        /// Method to test insert products related to transaction
        /// </summary>
        /// <remarks>
        /// Updater: NA
        /// Updated: NA
        /// </remarks>
        /// <param name="transactionLineProducts">The products related to the transaction</param>
        public int InsertTransactionLineProducts(TransactionLineProducts transactionLineProducts)
        {
            int result = 0;
            FakeTransactionAccessor        fakeTransactionAccessor     = new FakeTransactionAccessor();
            List <TransactionLineProducts> transactionLineProductsList =
                fakeTransactionAccessor.SelectAllTransactionLineProducts();

            if (!transactionLineProductsList.Contains(transactionLineProducts))
            {
                transactionLineProductsList.Add(transactionLineProducts);
                result = 1;
            }
            return(result);
        }