public LanguageRepositoryService(IRepositoryPattern <Language> repository, IMapper mapper, ILogger <LanguageRepositoryService> logger) { _repository = repository; _mapper = mapper; _logger = logger; }
public EmailBodyRepositoryService(IRepositoryPattern <EmailBody> repository, IMapper mapper, ILogger <EmailBodyRepositoryService> logger) { _repository = repository; _mapper = mapper; _logger = logger; }
public Menu() { IDataSource myDataSource = new MyDataSource(); IDataSource fileDataSource = new FileDataSource(); customerRepository = new CustomerRepository(fileDataSource); reservationRepository = new ReservationRepository(myDataSource); }
public StmpService(ILogger <StmpService> logger, IRepositoryPattern <Email> emailRepositoryService, IRepositoryPattern <EmailBody> emailBodyRepository, IRepositoryPattern <Language> languageRepository) { _logger = logger; _emailRepository = emailRepositoryService; _emailBodyRepository = emailBodyRepository; _languageRepository = languageRepository; }