Example #1
0
 public CodingChallengeController(ILoggingService loggingService, IPixabayApiService pixabayApiService,
                                  IEnumerable <IValidationService> validationServices, IAPIConfigurationHelper apiConfigurationHelper, IOxfordApiService oxfordApiService) : base(apiConfigurationHelper)
 {
     _loggingService     = loggingService;
     _pixabayApiService  = pixabayApiService;
     _validationServices = validationServices;
     _oxfordApiService   = oxfordApiService;
 }
 public BaseApiController(IAPIConfigurationHelper apiConfigurationHelper)
 {
     _apiConfigurationHelper = apiConfigurationHelper;
 }
Example #3
0
 public PixabayApiWrapper(IPixabayHttpWrapper pixabayHttpWrapper, IAPIConfigurationHelper apiConfigurationHelper, ICodingChallengeApiLogger codingChallengeApiLogger)
 {
     _pixabayHttpWrapper       = pixabayHttpWrapper;
     _apiConfigurationHelper   = apiConfigurationHelper;
     _codingChallengeApiLogger = codingChallengeApiLogger;
 }
 public PixabayApiServices(IPixabayApiWrapper pixabayApiWrapper, IAPIConfigurationHelper apiConfigurationHelper)
 {
     _pixabayApiWrapper      = pixabayApiWrapper;
     _apiConfigurationHelper = apiConfigurationHelper;
 }
Example #5
0
 public OxfordApiWrapper(IOxfordHttpWrapper oxfordHttpWrapper, IAPIConfigurationHelper apiConfigurationHelper, ICodingChallengeApiLogger codingChallengeApiLogger)
 {
     _oxfordHttpWrapper        = oxfordHttpWrapper;
     _apiConfigurationHelper   = apiConfigurationHelper;
     _codingChallengeApiLogger = codingChallengeApiLogger;
 }