Exemple #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);
            }
        }
Exemple #2
0
 public BaseController(IListifyDAL dal, IListifyService service)
 {
     _dal     = dal;
     _service = service;
 }
Exemple #3
0
 public PaypalController(IListifyDAL dal, IListifyService service) : base(dal, service)
 {
     _dal     = dal;
     _service = service;
 }