示例#1
0
        public List <NL_Loans> GetCustomerLoans(int customerID, int userID)
        {
            var stra = new GetCustomerLoans(customerID);

            stra.Context.CustomerID = customerID;
            stra.Context.UserID     = userID;
            stra.Execute();
            return(stra.Loans.ToList());
        }
示例#2
0
        }         // AddPayment

        public ListNewLoanActionResult GetCustomerLoans(int customerID, int userID = 1)
        {
            GetCustomerLoans s = new GetCustomerLoans(customerID);

            s.Context.CustomerID = customerID;
            s.Context.UserID     = userID;
            var amd = ExecuteSync(out s, customerID, userID, customerID);

            return(new ListNewLoanActionResult {
                MetaData = amd,
                Value = s.Loans,
                Error = s.Error
            });
        }         // GetCustomerLoans
示例#3
0
		public void GetCustomerLoansTest() {
			GetCustomerLoans s = new GetCustomerLoans(371);
			s.Execute();
			s.Loans.ForEach(l => m_oLog.Debug(l));
		}