Example #1
0
        public ListifyHub(
            ApplicationDbContext context,
            IHubContext <ListifyHub> listifyHub,
            IListifyDAL dal,
            IListifyService service,
            IPingPoll pingPoll,
            IMapper mapper)
        {
            _context    = context;
            _listifyHub = listifyHub;
            _dal        = dal;
            _service    = service;
            _mapper     = mapper;

            if (_pingPoll == null)
            {
                _pingPoll = pingPoll;
                _pingPoll.PollingEvent += async(s, e) => await OnPingPollEvent(s, e);
            }
        }
Example #2
0
 public BaseController(IListifyDAL dal, IListifyService service)
 {
     _dal     = dal;
     _service = service;
 }
Example #3
0
 public ListifyService(IListifyDAL dal)
 {
     _dal = dal;
 }
Example #4
0
 public CurrencyPoll(IListifyDAL dal) : base(dal)
 {
 }
Example #5
0
 public BasePoll(IListifyDAL dal)
 {
     _dal = dal;
 }
Example #6
0
 public PingPoll(IListifyDAL dal) : base(dal)
 {
 }
Example #7
0
 public PaypalController(IListifyDAL dal, IListifyService service) : base(dal, service)
 {
     _dal     = dal;
     _service = service;
 }
Example #8
0
 public RoomsOnlinePoll(IListifyDAL dal) : base(dal)
 {
 }