示例#1
0
        //Constructor
        public MainViewModel(IStandingService standingService)
        {
            _standingService = standingService;

            _driverStanding      = new ObservableCollection <DriverStanding>();
            _constructorStanding = new ObservableCollection <ConstructorStanding>();
        }
示例#2
0
 public CompetitionService(ILogger <CompetitionService> logger, ITeamService teamsService, IMatchSimulator matchSimulator, IStandingService standingService)
 {
     _logger          = logger;
     _teamsService    = teamsService;
     _matchSimulator  = matchSimulator;
     _standingService = standingService;
 }
示例#3
0
        //Constructor
        public MainViewModel(IStandingService standingService)
        {
            _standingService = standingService;

            _driverStanding = new ObservableCollection<DriverStanding>();
            _constructorStanding = new ObservableCollection<ConstructorStanding>();
        }
示例#4
0
 public NewsController(SportNewsDbContext context, IMapper mapper, IStandingService service, INewsService newsService, UserManager <User> userManager)
 {
     _context         = context;
     _mapper          = mapper;
     _service         = service;
     this.newsService = newsService;
     this.userManager = userManager;
 }
 public TournamentService(
     IMovieService movieService,
     IStandingService standingService,
     IRepository <Tournament> repository,
     IMapper mapper
     )
 {
     _movieService    = movieService;
     _standingService = standingService;
     _repository      = repository;
     _mapper          = mapper;
 }
        public StandingsViewModel(IStandingService standingService)
        {
            _standingService = standingService;

            LoadStandingsAsync();
        }
示例#7
0
 public MainViewModel(IStandingService standingService)
 {
     _standingService = standingService;
 }
 public StandingsViewModel(IStandingService standingService)
 {
     _standingService = standingService;
 }
示例#9
0
 public StandingsViewModel(IStandingService standingService)
 {
     _standingService = standingService;
 }
示例#10
0
 public MatchPageViewModel(IDetailsService detailsService, IStandingService standingsService)
 {
     _detailsService   = detailsService;
     _standingsService = standingsService;
 }
示例#11
0
 public FixtureService(SportNewsDbContext context, IStandingService service)
 {
     this.context = context;
     this.service = service;
 }
 public FixtureController(IFixtureService fixtureService, IStandingService standingService, IFootballService footballService)
 {
     this.fixtureService  = fixtureService;
     this.standingService = standingService;
     this.footballService = footballService;
 }
示例#13
0
 public MainViewModel(IStandingService standingService)
 {
     _standingService = standingService;
 }
 public TableService(ApplicationContext db, IStandingService standingService)
 {
     _db = db;
     _standingService = standingService;
 }
示例#15
0
 public StandingsController(IStandingService service)
 {
     _service = service;
 }
 public StandingController(IStandingService standingService, IFootballService footballService)
 {
     this.standingService = standingService;
     this.footballService = footballService;
 }
        //Constructor
        public SearchViewModel(IStandingService standingService)
        {
            _standingService = standingService;

            _driverStanding = new ObservableCollection<DriverStanding>();
        }
示例#18
0
        public StandingsViewModel(IStandingService standingService)
        {
            _standingService = standingService;

            LoadStandingsAsync();
        }
 public TournamentPageViewModel(IEventService eventService, IStandingService standingsService)
 {
     _eventService     = eventService;
     _standingsService = standingsService;
     TournamentStage   = "";
 }