예제 #1
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;
 }
예제 #3
0
 public RostersServiceTests()
 {
     this.rostersService = this.Provider.GetService <IRostersService>();
     this.mapper         = this.Provider.GetService <IMapper>();
 }