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