コード例 #1
0
        //UpdateCustomerIds
        public void RejectHousingLoan(HousingLoan u, int CreditScore)
        {
            HousingLoan cust = _housingLoans.Find(temp => temp.CreditScore == u.CreditScore);

            if (CreditScore <= 650)
            {
                cust.CreditScore = u.CreditScore;
            }
        }
コード例 #2
0
        //Add HousingLoan
        public void Add(HousingLoan n)
        {
            HousingLoan cus = _housingLoans.Find(temp => temp.CustomerId == n.CustomerId);

            if (cus != null)
            {
                _housingLoans.Add(n);
                ListOfHousingLoan();
            }
        }
コード例 #3
0
 public void RejectHousingLoan(HousingLoan housingLoan)
 {
     throw new NotImplementedException();
 }