Esempio n. 1
0
        }         // GetLoanByOldID

        public NLLongActionResult AddLoanOptions(int userID, int customerID, NL_LoanOptions loanOptions, int?oldLoanId, List <String> propertiesUpdateList = null)
        {
            AddLoanOptions s = new AddLoanOptions(loanOptions, oldLoanId, propertiesUpdateList);

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

            return(new NLLongActionResult {
                MetaData = amd,
                Value = s.LoanOptionsID
            });
        }         // AddLoanOptions
Esempio n. 2
0
		public void TestLoanOptions1() {
			NL_LoanOptions NL_options = new NL_LoanOptions {
				LoanID = 2,
				StopAutoChargeDate = DateTime.UtcNow,
				PartialAutoCharging = true,
				LatePaymentNotification = true,
				CaisAccountStatus = "asd",
				ManualCaisFlag = "qwe",
				EmailSendingAllowed = true,
				SmsSendingAllowed = true,
				MailSendingAllowed = true,
				UserID = 25,
				InsertDate = DateTime.UtcNow,
				IsActive = true,
				Notes = null
			};
			var stra = new AddLoanOptions(NL_options, 5137);
			stra.Execute();
		}