public TopicClientHostedService(ILogger <TopicClientHostedService> logger, IAzureKeyVaultService azureKeyVaultService, IConfiguration configuration, IFranchiseUserService franchiseUserService) { _logger = logger; _azureKeyVaultService = azureKeyVaultService; _franchiseUserService = franchiseUserService; _topicName = configuration["ExtractTopicName"]; _serviceBusConnectionStringSecretName = configuration["ServiceBusConnectionStringSecretName"]; _reoccurrenceInMinutes = int.Parse(configuration["ReoccurrenceInMinutes"]); }
public UsersController(IFranchiseUserService franchiseUserService) { _franchiseUserService = franchiseUserService; }