//Method injection public void BasvuruYap(IKrediManeger krediManager, List <ILoggerService> loggerService) { krediManager.Hesapla(); foreach (var logger in loggerService) { logger.Log(); } }
public void BasvuruYap(IKrediManeger krediManeger, ILoggerservice loggerservice loggerservice) { krediManeger.Hesapla(); }
public void Basvuruyap(IKrediManeger krediManeger, ILoggerService loggerService) { krediManeger.Hesapla(); loggerService.Log(); }
//METHOD İNJECTİON public void BasvuruYap(IKrediManeger krediManeger, ILoggerService loggerService) { //başvuru bilgilerini degerlendırme krediManeger.Hesapla(); loggerService.Log(); }