public RaffleController(IRaffleService svc, IAuctionMapper<Raffle, RaffleListViewModel, CreateRaffleViewModel, EditRaffleViewModel> mapper, IEventService eventSvc) { _svc = svc; _mapper = mapper; _eventSvc = eventSvc; }
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(); }
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."; }
public GameController(IRaffleService _raffleService) { raffleService = _raffleService; }
public ProductController(ICatalogService catalogService, IRaffleService raffleService) { this._catalogService = catalogService; this._raffleService = raffleService; }
public CartController(ICartService cartService, IRaffleService raffleService, IParticipantService participantService) { this._cartService = cartService; this._raffleService = raffleService; this._participantService = participantService; }
public MegaSenaController(IRaffleService service, IConvertExtensions extension) { Service = service; Extension = extension; }
public RaffleController(IConfiguration config, ILndService lndService, IRaffleService raffleService) { _lndService = lndService; _raffleService = raffleService; AuthorizedPubkey = config.GetValue <string>("admin_pub"); }