Beispiel #1
0
 public MatchesController(IEncounterService aService, IAuthenticationService authService)
 {
     encounterService = aService;
     factory          = new EncounterModelFactory();
     errors           = new ErrorActionResultFactory(this);
     authenticator    = authService;
 }
Beispiel #2
0
 public UsersController(IUserService aService, IAuthenticationService authenticationService, IImageService imageService)
 {
     userService   = aService;
     images        = imageService;
     authenticator = authenticationService;
     errors        = new ErrorActionResultFactory(this);
 }
Beispiel #3
0
 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);
 }