static void Main(string[] args) { IKrediManager ihtiyacKrediManager = new IhtiyacKrediManager(); IKrediManager tasitKrediManager = new TasitKrediManager(); IKrediManager konutKrediManager = new KonutKrediManager(); ILoggerService databaseLoggerService = new DatabaseLoggerService(); ILoggerService fileLoggerService = new FileLoggerService(); BasvuruManager basvuruManager = new BasvuruManager(); basvuruManager.BasvuruYap(new EsnafKredisiManager(), new SmsLoggerService()); List <IKrediManager> krediler = new List <IKrediManager>() { ihtiyacKrediManager, tasitKrediManager }; //basvuruManager.KrediOnBilgilendirmesiYap(krediler); }
static void Main(string[] args) { FinanceCreditManager FCM = new FinanceCreditManager(); HouseCreditManager HCM = new HouseCreditManager(); TransportCreditManager TCM = new TransportCreditManager(); LoggerService FS = new FileLoggerService(); LoggerService DS = new DataBaseLoggerService(); ApplicationManager appM = new ApplicationManager(); appM.toApply(FCM, new List <LoggerService> { FS, DS }); List <CreditManager> credits = new List <CreditManager>() { FCM, TCM }; appM.preNotification(credits); }