public EditStatisticsApiController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext serviceContext,
                                    AppCaches appCaches, IProfilingLogger profilingLogger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper, UmbracoMapper umbracoMapper,
                                    IBackgroundTaskTracker taskTracker) :
     base(globalSettings, umbracoContextAccessor, sqlContext, serviceContext, appCaches, profilingLogger, runtimeState, umbracoHelper, umbracoMapper)
 {
     _taskTracker = taskTracker ?? throw new ArgumentNullException(nameof(taskTracker));
 }
 public EditStatisticsSurfaceController(IUmbracoContextAccessor umbracoContextAccessor, IUmbracoDatabaseFactory umbracoDatabaseFactory, ServiceContext serviceContext,
                                        AppCaches appCaches, ILogger logger, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper, IDatabaseConnectionFactory databaseConnectionFactory,
                                        IBackgroundTaskTracker taskTracker, IMatchListingDataSource matchListingDataSource, IMatchDataSource matchDataSource, IStatisticsRepository statisticsRepository,
                                        IBowlingFiguresCalculator bowlingFiguresCalculator, IPlayerInMatchStatisticsBuilder playerInMatchStatisticsBuilder, IPlayerIdentityFinder playerIdentityFinder)
     : base(umbracoContextAccessor, umbracoDatabaseFactory, serviceContext, appCaches, logger, profilingLogger, umbracoHelper)
 {
     _databaseConnectionFactory = databaseConnectionFactory ?? throw new ArgumentNullException(nameof(databaseConnectionFactory));
     _taskTracker                    = taskTracker ?? throw new ArgumentNullException(nameof(taskTracker));
     _matchListingDataSource         = matchListingDataSource ?? throw new ArgumentNullException(nameof(matchListingDataSource));
     _matchDataSource                = matchDataSource ?? throw new ArgumentNullException(nameof(matchDataSource));
     _statisticsRepository           = statisticsRepository ?? throw new ArgumentNullException(nameof(statisticsRepository));
     _bowlingFiguresCalculator       = bowlingFiguresCalculator ?? throw new ArgumentNullException(nameof(bowlingFiguresCalculator));
     _playerInMatchStatisticsBuilder = playerInMatchStatisticsBuilder ?? throw new ArgumentNullException(nameof(playerInMatchStatisticsBuilder));
     _playerIdentityFinder           = playerIdentityFinder ?? throw new ArgumentNullException(nameof(playerIdentityFinder));
 }