public void LoanApplicationValueChanged(int loanAmount, int loanTerm, CreditRating creditRating)
        {
            var loanApplication = new LoanApplication
                                  	{
                                  		Amount = loanAmount,
                                  		Term = loanTerm,
                                  		CreditRating = creditRating
                                  	};

            _applicationController.PublishMessage(new LoanApplicationUpdatedMessage(loanApplication));
        }
 public LoanApplicationUpdatedMessage(LoanApplication loanApplication)
 {
     _loanApplication = loanApplication;
 }
 public LoanSelectedMessage(Loan loan, LoanApplication loacApplication)
 {
     _loan = loan;
     _loanApplication = loacApplication;
 }
 public LoanApplicationProcessor(LoanApplication application)
 {
     _application = application;
 }