public MatchesController(IEncounterService aService, IAuthenticationService authService) { encounterService = aService; factory = new EncounterModelFactory(); errors = new ErrorActionResultFactory(this); authenticator = authService; }
public UsersController(IUserService aService, IAuthenticationService authenticationService, IImageService imageService) { userService = aService; images = imageService; authenticator = authenticationService; errors = new ErrorActionResultFactory(this); }
public TeamsController(ITeamService aService, IImageService imageManager, IAuthenticationService authService) { teamService = aService; errors = new ErrorActionResultFactory(this); images = imageManager; authenticator = authService; }
public FixturesController(IFixtureService service, IOptions <FixtureStrategies> config, IAuthenticationService authService) { fixtureService = service; fixtureConfig = config; authenticator = authService; factory = new EncounterModelFactory(); errors = new ErrorActionResultFactory(this); }
public SportsController(ISportService sportRepo, ITeamService teamRepo, IFixtureService fixtureService, ISportTableService tableGenerator, IAuthenticationService authService, IImageService imageService) { sports = sportRepo; fixture = fixtureService; teams = teamRepo; tableService = tableGenerator; images = imageService; authenticator = authService; errors = new ErrorActionResultFactory(this); }
public LogsController(ILoggerService logService, IAuthenticationService authService) { logger = logService; authenticator = authService; errors = new ErrorActionResultFactory(this); }