Пример #1
0
        }         // SaveFee

        public StringActionResult CancelFee(int userID, int customerID, NL_LoanFees fee)
        {
            CancelFee s = new CancelFee(fee);

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

            return(new StringActionResult {
                Value = s.Error
            });
        } // CancelFee
Пример #2
0
		public void CancelFeeTest() {
			NL_LoanFees f = m_oDB.FillFirst<NL_LoanFees>("NL_LoanFeesGet",
				CommandSpecies.StoredProcedure,
				new QueryParameter("LoanID", 3),
				new QueryParameter("LoanFeeID", 20011));

			f.DeletedByUserID = 357;
			CancelFee s = new CancelFee(f);
			try {
				s.Execute();
			} catch (Exception e) {
				m_oLog.Debug(e);
			}
		}