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