static void Main(string[] args) { ICreditBaseManager personalFinanceCreditManager = new PersonalFinanceCreditManager(); ICreditBaseManager vehicleCredıtManager = new VehicleCredıtManager(); ICreditBaseManager mortgageCreditManager = new MortgageCreditManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); AppealManager appealManager = new AppealManager(); appealManager.Appeal(personalFinanceCreditManager, fileLoggerService); List <ICreditBaseManager> credits = new List <ICreditBaseManager>() { personalFinanceCreditManager, vehicleCredıtManager }; //appealManager.CreditInformation(credits); }
static void Main(string[] args) { ICreditBaseManager financeCredit = new FinanceCredit(); ICreditBaseManager vehicleCredit = new VehicleCredit(); ICreditBaseManager mortgage = new Mortgage(); ILoggerService databeseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); AppealManager appealManager = new AppealManager(); appealManager.Appeal(new ArtisanCredit(), new SmsLogger()); List <ICreditBaseManager> credits = new List <ICreditBaseManager>() { financeCredit, vehicleCredit }; //appealManager.CreditPreInfo(credits); }