public PlanitPokerController(IApiHelper apiHealper,
                                     ILogger <PlanitPokerController> logger,
                                     IPlanitPokerService planitPokerService,
                                     IStringValidator stringValidator
                                     //IErrorService errorService
                                     )
        {
            _apiHealper         = apiHealper;
            _logger             = logger;
            _planitPokerService = planitPokerService;
            _stringValidator    = stringValidator;
            //_errorService = errorService;
            //hubContext.

            _planitUserReturnFactory = new PlanitUserReturnFactory();
        }
Example #2
0
        //private static IServiceProvider _serviceProvider;

        //front endpoints



        public PlanitPokerHub(MultiThreadHelper multiThreadHelper,
                              IStringValidator stringValidator, IPlanitPokerService planitPokerService,
                              IPlanitApiHelper apiHealper, IJWTService jwtService, IJWTHasher hasher, IErrorService errorService
                              , IErrorContainer errorContainer)
        {
            _multiThreadHelper  = multiThreadHelper;
            _stringValidator    = stringValidator;
            _planitPokerService = planitPokerService;

            _jwtService     = jwtService;
            _hasher         = hasher;
            _errorService   = errorService;
            _errorContainer = errorContainer;

            _logger = null; //todo

            _apiHealper = apiHealper;
            _apiHealper.InitByHub(this);
        }