예제 #1
0
 public void basvuruYap(IkrediManager krediManager, List <ILoggerService> loggerService)
 {
     krediManager.hesapla();
     foreach (var item in loggerService)
     {
         item.Log();
     }
 }
 public void TekKrediBasvurusuYap(IkrediManager kredi, List <ILoggerService> loggerServices)
 {
     Console.WriteLine("SEÇİLEN KREDİ: ");
     kredi.KrediIsmi();
     kredi.SureSoyle();
     kredi.Hesapla();
     foreach (var logger in loggerServices)
     {
         logger.Log();
     }
 }