public RaffleController(IRaffleService svc, 
                         IAuctionMapper<Raffle, RaffleListViewModel, CreateRaffleViewModel, EditRaffleViewModel> mapper, 
                         IEventService eventSvc)
 {
     _svc = svc;
     _mapper = mapper;
     _eventSvc = eventSvc;
 }
Exemplo n.º 2
0
 public BotController(IRaffleService service, IHttpClientFactory httpClientFactory, IConfiguration configuration)
 {
     _raffleService     = service;
     _httpClientFactory = httpClientFactory;
     _config            = configuration;
     _connection        = new HubConnectionBuilder()
                          .WithUrl($"{_config[Constants.SIGNAL_R_DOMAIN]}/rafflehub")
                          .Build();
 }
Exemplo n.º 3
0
 public MessageCreateProcessor(
     IMessageService messageService,
     IUserService userService,
     PlogDbContext plogDbContext,
     IBladeAndSoulService bladeAndSoulService,
     ILoggingService loggingService,
     IClanLogService clanLogService,
     IRaffleService raffleService,
     IAlertService alertService,
     ITimeZoneService timeZoneService,
     IPowerService powerService,
     IGuildService guildService
     )
 {
     _plogDbContext           = plogDbContext;
     _messageService          = messageService;
     _userService             = userService;
     _bladeAndSoulService     = bladeAndSoulService;
     _loggingService          = loggingService;
     _clanLogService          = clanLogService;
     _raffleService           = raffleService;
     _alertService            = alertService;
     _timeZoneService         = timeZoneService;
     _powerService            = powerService;
     _guildService            = guildService;
     _allowedTopLevelCommands = new List <string> {
         "test", "add", "me", "alt", "release", "characters", "whales", "clanlog", "raffle", "ticket", "alert", "mytime"
     };
     _adminCommands = new List <string> {
         "reset"
     };
     _bannedKashPhrases = new List <string> {
         "no", "nope", "nah", "nada", "n0", "n0pe"
     };
     _response = "There was an error processing this request.";
 }
Exemplo n.º 4
0
 public GameController(IRaffleService _raffleService)
 {
     raffleService = _raffleService;
 }
Exemplo n.º 5
0
 public ProductController(ICatalogService catalogService, IRaffleService raffleService)
 {
     this._catalogService = catalogService;
     this._raffleService  = raffleService;
 }
Exemplo n.º 6
0
 public CartController(ICartService cartService, IRaffleService raffleService, IParticipantService participantService)
 {
     this._cartService        = cartService;
     this._raffleService      = raffleService;
     this._participantService = participantService;
 }
Exemplo n.º 7
0
 public MegaSenaController(IRaffleService service, IConvertExtensions extension)
 {
     Service   = service;
     Extension = extension;
 }
Exemplo n.º 8
0
 public RaffleController(IConfiguration config, ILndService lndService, IRaffleService raffleService)
 {
     _lndService      = lndService;
     _raffleService   = raffleService;
     AuthorizedPubkey = config.GetValue <string>("admin_pub");
 }