Esempio n. 1
0
 public MatchdaysController(
     IMatchdaysService matchdayService,
     IFixturesService fixtureService)
 {
     this.matchdayService = matchdayService;
     this.fixtureService  = fixtureService;
 }
Esempio n. 2
0
 public HomeController(
     IMatchdaysService matchdaysService,
     IUsersService usersService,
     IRostersService rostersService)
 {
     this.matchdaysService = matchdaysService;
     this.usersService     = usersService;
     this.rostersService   = rostersService;
 }
 public RostersController(
     IPlayersService playersService,
     IRostersService rostersService,
     IMatchdaysService matchdaysService,
     IUsersService usersService)
 {
     this.playersService   = playersService;
     this.rostersService   = rostersService;
     this.matchdaysService = matchdaysService;
     this.usersService     = usersService;
 }
 public RostersService(
     IRepository <Roster> rosterRepository,
     IRepository <Score> scoreRepository,
     IRepository <Player> playerRepository,
     IRepository <User> userRepository,
     IRepository <RosterPlayer> rosterPlayerRepository,
     IMatchdaysService matchdaysService,
     IMapper mapper) : base(mapper)
 {
     this.rosterRepository       = rosterRepository;
     this.scoreRepository        = scoreRepository;
     this.playerRepository       = playerRepository;
     this.userRepository         = userRepository;
     this.matchdaysService       = matchdaysService;
     this.rosterPlayerRepository = rosterPlayerRepository;
 }
 public MatchdaysServiceTests()
 {
     this.matchdaysService = this.Provider.GetService <IMatchdaysService>();
 }