static void Main(string[] args) { IKrediManager ihtiyacKrediManager = new İhtiyacKrediManager(); IKrediManager tasitKrediManager = new TasitKrediManager(); IKrediManager konutKrediManager = new KonutKrediManager(); IKrediManager esnafKrediManager = new EsnafKredisiManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService smsLogger = new SmsLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); List <ILoggerService> loggers = new List <ILoggerService> { new SmsLoggerService(), new DatabaseLoggerService() }; BasvuruManager basvuruManager = new BasvuruManager(); basvuruManager.BasvuruYap(esnafKrediManager, loggers); List <IKrediManager> krediler = new List <IKrediManager>() { ihtiyacKrediManager, tasitKrediManager }; //basvuruManager.KrediOnBilgilendirmesiYap(krediler); }
static void Main(string[] args) { IKrediManager ihtiyacKrediManager = new IhtiyacKrediManager(); IKrediManager konutKrediManager = new KonutKrediManager(); IKrediManager tasitKrediManager = new TasitKrediManager(); ILoggerService databaseLoggerManager = new DatabaseLoggerService(); ILoggerService fileLoggerManager = new FileLoggerService(); BasvuruManager basvuruManager = new BasvuruManager(); basvuruManager.BasvuruYap(konutKrediManager, fileLoggerManager); List <IKrediManager> krediler = new List <IKrediManager>() { ihtiyacKrediManager, tasitKrediManager }; basvuruManager.KrediOnBilgilendirmesiYap(krediler); }