Ejemplo n.º 1
0
 public GameServiceTest()
 {
     _dataContextConnection = A.Fake <IDataContextConnection>();
     _reminderService       = A.Fake <IReminderService>();
     _teamApi        = A.Fake <ITeamApi>();
     _competitionApi = A.Fake <ICompetitionApi>();
     _matchApi       = A.Fake <IMatchApi>();
 }
Ejemplo n.º 2
0
 public CompetitionController(
     IOptions <ApiSettings> apiSettings,
     ISportApi sportApi,
     ICountryApi countryApi,
     ITeamApi teamApi,
     ICompetitionApi competitionApi
     )
 {
     this.apiSettings    = apiSettings.Value;
     this.sportApi       = sportApi;
     this.countryApi     = countryApi;
     this.teamApi        = teamApi;
     this.competitionApi = competitionApi;
 }
Ejemplo n.º 3
0
 public HomeController(IWritableOptions <InitSettings> initSettings,
                       IMapper mapper,
                       ISportApi sportApi,
                       ICompetitionApi competitionApi,
                       ICountryApi countryApi,
                       ITeamApi teamApi)
 {
     this.initSettings   = initSettings;
     this.mapper         = mapper;
     this.sportApi       = sportApi;
     this.competitionApi = competitionApi;
     this.countryApi     = countryApi;
     this.teamApi        = teamApi;
 }