public PredsApiController(IMemoryCache cache, IConfiguration configuration, IDataContext context,
                           IFixtureParser parser, ILeagueTableService leagueTableService)
 {
     this.cache              = cache;
     this.context            = context;
     this.parser             = parser;
     this.leagueTableService = leagueTableService;
 }
        public LeagueTablePresenter(ILeagueTableView view, ILeagueTableService leagueTableService)
            : base(view)
        {
            Guard.WhenArgument(leagueTableService, "leagueTableService").IsNull().Throw();
            this.leagueTableService = leagueTableService;

            this.View.OnGetLeagueTableData += this.View_OnGetLeaguesTable;
        }
Beispiel #3
0
 public LeagueStatisticsController(ILeagueTableService leagueTableService)
 {
     _leagueTableService = leagueTableService;
 }
 public LeagueTableController(ILeagueTableService leagueTableService)
 {
     this.leagueTableService = leagueTableService;
 }