Example #1
0
        /// <summary>
        /// Get the paged PaymentHistory records for the current account
        /// </summary>
        /// <returns>PaymetnHistory List</returns>
        public async Task <List <PaymentHistoryInfo> > GetPaymentHistoryList()
        {
            //Get the accountID of the currently loggedin user.
            var accID = await _iHttpContextProvider.GetCurrentUserAccountID();

            //Get the online paymentHistory.
            List <PaymentHistoryInfo> retVal = await PrepareNotifEyePaymentHistory(accID);

            //Get the Manual Payment History.
            retVal.AddRange(await PrepareManualPaymentHistory(accID, retVal));

            //Retrun the result.
            return(retVal);
        }