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 List <ILoggerService> { new DataBaseLoggerService(), new SmsLoggerService() }); List <IKrediManager> krediler = new List <IKrediManager> { ihtiyacKrediManager, tasitKrediManager }; //basvuruManager.KrediOnBilgilendirmesi(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); }