//Define the SubSystem Objects.
//The BankSystem class (object), CreditSystem class (object) and the LoanSystem class (object) represent the defined high-level systems (objects).
public class BankSystem
{
public bool HasSufficientSavings(string customerId)
{
Console.WriteLine("Checking banking system for {0}.", customerId);
return true;
}
}
public class CreditSystem
{
public bool HasGoodCredit(string customerId)
{
Console.WriteLine("Checking credit system for {0}.", customerId);
return true;
}
}
public class LoanSystem
{
public bool HasNoBadLoans(string customerId)
{
Console.WriteLine("Checking loan system for {0}.", customerId);
return true;
}
}