예제 #1
0
 public LiveriesController(
     RaceSpotDBContext context,
     IS3Service s3Service,
     IIracingService iracingService,
     ILogger <LiveriesController> logger)
 {
     _context        = context;
     _s3Service      = s3Service;
     _iracingService = iracingService;
     _logger         = logger;
 }
예제 #2
0
 public AccountsController(
     IConfiguration configuration,
     RaceSpotDBContext context,
     SignInManager <ApplicationUser> signInManager,
     UserManager <ApplicationUser> userManager,
     IIracingService iracingService,
     ILogger <AccountsController> logger)
 {
     _context        = context;
     _signInManager  = signInManager;
     _userManager    = userManager;
     _secretKey      = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(configuration["Authentication.SigningKey"]));
     _iracingService = iracingService;
     _logger         = logger;
     _baseUrl        = configuration["BaseUrl"];
 }
 public SeriesController(RaceSpotDBContext context)
 {
     _context = context;
 }
예제 #4
0
 public EventsController(RaceSpotDBContext context)
 {
     _context = context;
 }
 public RejectionsController(RaceSpotDBContext context, ISESService sesService)
 {
     _context    = context;
     _sesService = sesService;
 }
 public CarsController(RaceSpotDBContext context)
 {
     _context = context;
 }
예제 #7
0
 public UsersController(RaceSpotDBContext context, ISESService sesService)
 {
     _context    = context;
     _sesService = sesService;
 }
예제 #8
0
 public AdminAuthorizer(RaceSpotDBContext context)
 {
     _context = context;
 }