public NewsletterService(IConfiguration config, ILogger <NewsletterService> logger, ISQLHelperService sqlHelper, IHttpContextAccessor httpContextAccessor) { dbConnectionString = config["ConnectionStrings:DefaultConnection"]; _logger = logger; _httpContextAccessor = httpContextAccessor; _sql = sqlHelper; }
public ArticleImageService( IConfiguration configuration , IAzureStorageService azureStorageService , ILogger <ArticleImageService> logger , ISQLHelperService sql , IWebHostEnvironment env) { _configuration = configuration; AzureConncetionString = _configuration["AzureStorageConnectionString"]; _azureStorageService = azureStorageService; _logger = logger; _sql = sql; _wwwRoot = env.ContentRootPath; }
public AlertService(ILogger <AlertService> logger, ISQLHelperService sql) { _logger = logger; _sql = sql; }
public EventService(ILogger <EventService> logger, ISQLHelperService sql) { _logger = logger; _sql = sql; }