public void RejectHousingLoan(HousingLoan housingLoan, int CreditScore)

        {
            if (CreditScore <= 650)
            {
                _housingLoanDataAccessLayer.RejectHousingLoan(housingLoan);//reject HouseLoan
            }
        }
        //add

        /// <summary>
        /// Add/Aprrove housing loan
        /// </summary>
        /// <param name="housingLoan">HosingLoan</param>
        public void AddHousingLoan(HousingLoan housingLoan)
        {
            try
            {
                if (housingLoan.CustomerId != 0)
                {
                    _housingLoanDataAccessLayer.Add(housingLoan);//Adds housingLoan
                }
            }

            catch (Exception e)
            {
                throw new HousingLoanException("CustomerId cant be zero", e);//exception raised where customerid cant be zero
            }
        }