Exemplo n.º 1
0
 public EventController(IEventService eventService,
                        IDisciplineService disciplineService,
                        ICourseService courseService,
                        IDeviceService deviceService,
                        ICompetitionService competitionService,
                        IAdminService adminService,
                        IChipService chipService,
                        IHeatService heatService,
                        IResultService resultService,
                        IAccountService accountService,
                        IMemoryCache cache,
                        ICategoryService categoryService)
 {
     _disciplineService  = disciplineService;
     _eventService       = eventService;
     _courseService      = courseService;
     _deviceService      = deviceService;
     _competitionService = competitionService;
     _adminService       = adminService;
     _chipService        = chipService;
     _heatService        = heatService;
     _resultService      = resultService;
     _cache           = cache;
     _accountService  = accountService;
     _categoryService = categoryService;
 }
Exemplo n.º 2
0
        public AdminController(IAdminService adminService,
                               IAccountService accountService,
                               IMemoryCache cache,
                               ISportService sportService,
                               IDisciplineService disciplineService,
                               ICompetitionService competitionService,
                               IEventService eventService,
                               IHeatService heatService,
                               IClubService clubService,
                               ICourseService courseService,
                               IDeviceService deviceService,
                               IServiceProvider serviceProvider,
                               ICategoryService categoryService,
                               IChipService chipService,
                               UserManager <ApplicationUser> userManager)

        {
            _adminService       = adminService;
            _cache              = cache;
            _accountService     = accountService;
            _sportService       = sportService;
            _disciplineService  = disciplineService;
            _competitionService = competitionService;
            _eventService       = eventService;
            _heatService        = heatService;
            _clubService        = clubService;
            _courseService      = courseService;
            _deviceService      = deviceService;
            _serviceProvider    = serviceProvider;
            _categoryService    = categoryService;
            _chipService        = chipService;
            _userManager        = userManager;
        }
Exemplo n.º 3
0
 public ChipService(IChipRepository repo,
                    IHeatService heatService,
                    IEventService eventService)
 {
     _repo         = repo;
     _heatService  = heatService;
     _eventService = eventService;
 }
Exemplo n.º 4
0
 public MarkerService(IMarkerRepository repo,
                      IHeatService heatService,
                      IEventService eventService)
 {
     _repo         = repo;
     _heatService  = heatService;
     _eventService = eventService;
 }
Exemplo n.º 5
0
        public HeatServiceTests()
        {
            var builder = new WebHostBuilder()
                          .UseEnvironment("Testing")
                          .UseStartup <Startup>();
            var server = new TestServer(builder);

            _context = server.Host.Services.GetService(typeof(ApplicationDbContext)) as ApplicationDbContext;
            _repo    = new HeatRepository(_context);
            _service = new HeatService(_repo, null);
            Setup();
        }
Exemplo n.º 6
0
 public UserController(ICompetitionService competitionService,
                       IEventService eventService,
                       IHeatService heatService,
                       IResultService resultService,
                       UserManager <ApplicationUser> userManager)
 {
     _competitionService = competitionService;
     _eventService       = eventService;
     _heatService        = heatService;
     _userManager        = userManager;
     _resultService      = resultService;
 }
Exemplo n.º 7
0
 public HomeController(
     ICompetitionService competitionService,
     IEventService eventService,
     IHeatService heatService,
     IResultService resultService,
     ICategoryService categoryService)
 {
     _competitionService = competitionService;
     _eventService       = eventService;
     _heatService        = heatService;
     _resultService      = resultService;
     _categoryService    = categoryService;
 }
Exemplo n.º 8
0
 public HeatController(IHeatService heatService,
                       IAdminService adminService,
                       IMarkerService markerService,
                       IChipService chipService,
                       ICompetitionService competitionService,
                       IEventService eventService,
                       IResultService resultService)
 {
     _heatService        = heatService;
     _adminService       = adminService;
     _markerService      = markerService;
     _chipService        = chipService;
     _competitionService = competitionService;
     _eventService       = eventService;
     _resultService      = resultService;
 }
 public CompetitionInstanceController(ICompetitionService competitionService,
                                      IMemoryCache cache,
                                      IAccountService accountService,
                                      IDeviceService deviceService,
                                      IEventService eventService,
                                      IMarkerService markerService,
                                      IAdminService adminService,
                                      IHeatService heatService,
                                      IResultService resultService,
                                      IChipService chipService
                                      )
 {
     _competitionService = competitionService;
     _cache          = cache;
     _accountService = accountService;
     _deviceService  = deviceService;
     _eventService   = eventService;
     _markerService  = markerService;
     _adminService   = adminService;
     _heatService    = heatService;
     _resultService  = resultService;
     _chipService    = chipService;
 }
Exemplo n.º 10
0
 public ContestantController(IHeatService heatService)
 {
     _heatService = heatService;
 }
Exemplo n.º 11
0
 public EventService(IEventRepository repo,
                     IHeatService heatService)
 {
     _repo        = repo;
     _heatService = heatService;
 }