public MciRequestDataAccess(ILog logger, IMailingHistoryDataAccess mailingHistoryDataAccess) { _logger = logger; _mailingHistoryDataAccess = mailingHistoryDataAccess; MciCrDbConnectionString = ConfigurationManager.AppSettings["MciCrConnection"]; bool enableDump; bool.TryParse(ConfigurationManager.AppSettings["EnableObjectDump"], out enableDump); CanDump = enableDump; _logger = logger; }
public MailingHistoryService(IMailingHistoryDataAccess dataAccess, ILog logger) { _dataAccess = dataAccess; _logger = logger; }