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

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

            _driverStanding = new ObservableCollection<DriverStanding>();
            _constructorStanding = new ObservableCollection<ConstructorStanding>();
        }
Beispiel #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();
        }
Beispiel #7
0
 public MainViewModel(IStandingService standingService)
 {
     _standingService = standingService;
 }
 public StandingsViewModel(IStandingService standingService)
 {
     _standingService = standingService;
 }
 public StandingsViewModel(IStandingService standingService)
 {
     _standingService = standingService;
 }
Beispiel #10
0
 public MatchPageViewModel(IDetailsService detailsService, IStandingService standingsService)
 {
     _detailsService   = detailsService;
     _standingsService = standingsService;
 }
 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;
 }
Beispiel #13
0
 public MainViewModel(IStandingService standingService)
 {
     _standingService = standingService;
 }
 public TableService(ApplicationContext db, IStandingService standingService)
 {
     _db = db;
     _standingService = standingService;
 }
Beispiel #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>();
        }
        public StandingsViewModel(IStandingService standingService)
        {
            _standingService = standingService;

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