Beispiel #1
0
 public ShipController(TreasureEntities dbContext, IThrottleService throttlingService) : base(CacheItemType.Ship, dbContext, throttlingService)
 {
 }
Beispiel #2
0
 public ProfileContoller(TreasureEntities dbContext, IMapper autoMapper, IThrottleService throttlingService, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager) : base(dbContext, autoMapper, throttlingService)
 {
     _userManager = userManager;
 }
Beispiel #3
0
 public AuthService(IUserRepository userRepository, IThrottleService throttleService)
 {
     _throttleService = throttleService ?? throw new ArgumentNullException(nameof(throttleService));
     _userRepository  = userRepository ?? throw new ArgumentNullException(nameof(userRepository));
 }
Beispiel #4
0
 public EntityApiController(TreasureEntities dbContext, IMapper autoMapper, IThrottleService throttlingService)
 {
     DbContext         = dbContext;
     AutoMapper        = autoMapper;
     ThrottlingService = throttlingService;
 }
Beispiel #5
0
 protected SearchableApiController(TreasureEntities dbContext, IMapper autoMapper, IThrottleService throttlingService) : base(dbContext, autoMapper, throttlingService)
 {
 }
Beispiel #6
0
 public StageController(TreasureEntities dbContext, IMapper autoMapper, IThrottleService throttlingService) : base(CacheItemType.Stage, dbContext, throttlingService)
 {
 }
Beispiel #7
0
 public TeamController(TeamSearchService searchService, TreasureEntities dbContext, IMapper autoMapper, IThrottleService throttlingService) : base(dbContext, autoMapper, throttlingService)
 {
     _searchService = searchService;
 }
Beispiel #8
0
 public ThrottlingFilter(ILoggerFactory factory, IThrottleService service)
 {
     _service = service;
     _logger  = factory.CreateLogger <ExceptionLoggerFilter>();
 }
Beispiel #9
0
 public DonationController(TreasureEntities dbContext, IMapper autoMapper, IThrottleService throttlingService, UserManager <ApplicationUser> userManager, IDonationService donationService) : base(dbContext, autoMapper, throttlingService)
 {
     _userManager     = userManager;
     _donationService = donationService;
 }
Beispiel #10
0
 public BoxController(IPreferenceService preferenceService, TreasureEntities dbContext, IMapper autoMapper, IThrottleService throttlingService) : base(dbContext, autoMapper, throttlingService)
 {
     Throttled          = true;
     _preferenceService = preferenceService;
 }
Beispiel #11
0
 public LocallyCachedController(CacheItemType type, TreasureEntities dbContext, IThrottleService throttlingService)
 {
     Type              = type;
     DbContext         = dbContext;
     ThrottlingService = throttlingService;
 }
Beispiel #12
0
 public TeamCommentController(TreasureEntities dbContext, IMapper autoMapper, IThrottleService throttlingService) : base(dbContext, autoMapper, throttlingService)
 {
 }