public FootballDataOrgImporter(FootballImportServiceConfiguration cfg,
                                       IFlurlClientFactory flurlClientFactory,
                                       IMapper mapper,
                                       ILeagueManager leagueManager)
        {
            _client = flurlClientFactory.Get(cfg.FootballDataOrgApiUrl);
            _client.Headers.Add("X-Auth-Token", cfg.FootballDataOrgApiKey);
            _client.Headers.Add("X-Requests-Available-Minute", "");
            _client.BaseUrl = cfg.FootballDataOrgApiUrl;

            _configuration = cfg;
            _mapper        = mapper;
            _leagueManager = leagueManager;
        }
 public LeagueManager(IUnitOfWork unitOfWork, IMapper mapper, FootballImportServiceConfiguration configuration)
 {
     _unitOfWork    = unitOfWork;
     _mapper        = mapper;
     _configuration = configuration;
 }