Esempio n. 1
0
 public LogsController(IHttpContextAccessor contextAccessor,
                       UserManager <ApplicationUser> userManager,
                       ILogger <LogsController> logger,
                       IMapper mapper,
                       IActivityLogPodcastEntryRepository repository) : base(contextAccessor, userManager, logger)
 {
     _mapper     = mapper;
     _repository = repository;
 }
 public GeocodeActivityJob(IActivityLogPodcastEntryRepository repository,
                           IUnitOfWork unitOfWork,
                           IHttpClientFactory httpClientFactory,
                           ILogger <GeocodeUsersJob> logger, IOptions <AppSettings> appSettings)
 {
     _repository  = repository;
     _unitOfWork  = unitOfWork;
     _logger      = logger;
     _httpClient  = httpClientFactory.CreateClient("ipstack_geocoder");
     _appSettings = appSettings.Value;
 }
Esempio n. 3
0
 public AudioController(
     IHttpContextAccessor contextAccessor,
     UserManager <ApplicationUser> userManager,
     ILogger <AudioController> logger,
     IEntryRepository entryRepository,
     IOptions <AppSettings> appSettings,
     IOptions <StorageSettings> storageSettings,
     IActivityLogPodcastEntryRepository activityRepository,
     IOptions <AudioFileStorageSettings> audioStorageSettings
     ) : base(contextAccessor, userManager, logger)
 {
     _entryRepository      = entryRepository;
     _activityRepository   = activityRepository;
     _appSettings          = appSettings.Value;
     _storageSettings      = storageSettings.Value;
     _audioStorageSettings = audioStorageSettings.Value;
 }