public FootballDataRepository(Configuration config, IRestSharpService restSharpService)
        {
            this.config           = config;
            this.restSharpService = restSharpService;

            this.footballDataApiUrl = this.config.AppSettings.FootballDataApiUrl;
            this.footballDataApiKey = this.config.AppSettings.FootballDataApiKey;
        }
 public HomeController(ILogger <PostController> logger, IPostService postService, IPostCategoryService postCategoryService, IEntryService entryService, IAccountService accountService, IRestSharpService restSharpService)
 {
     _logger              = logger;
     _postService         = postService;
     _postCategoryService = postCategoryService;
     _entryService        = entryService;
     _accountService      = accountService;
     _restSharpService    = restSharpService;
 }
Exemple #3
0
 public UserService(IRestSharpService restSharpService)
 {
     this._serviceURL       = ConfigurationManager.AppSettings["EmployeeProfile.ServiceUrl"];
     this._restSharpService = restSharpService;
 }
Exemple #4
0
 public WebApiController(ILogger <WebApiController> logger, IRestSharpService restSharpService, IPostService postService)
 {
     _logger           = logger;
     _restSharpService = restSharpService;
     _postService      = postService;
 }
 public ApiPostController(ILogger <ApiPostController> logger, IRestSharpService restSharpService, IPostService postService)
 {
     _restSharpService = restSharpService;
 }
Exemple #6
0
 public CollectionService(AppSettings config, IRestSharpService restService)
 {
     this.config      = config;
     this.restService = restService;
 }
 public HangfireController(IRestSharpService restSharpService, IConfiguration configuration, IToDoDataService toDoDataService)
 {
     _restSharpService = restSharpService;
     _configuration    = configuration;
     _toDoDataService  = toDoDataService;
 }