public SmokerService(SmokerDBContext context, IMapper mapper, IHubContext <MessageHub, IMessageHub> messageHub, IUserInfoService userInfoService, ISmokerConnectionService smokerConnectionService, INotficationService notificationService = null) { _context = context; _mapper = mapper; _messageHub = messageHub; _userInfoService = userInfoService; _smokerConnectionService = smokerConnectionService; _notificationService = notificationService; }
public MessageHub(ISmokerConnectionService smokerConnectionService) { _smokerConnectionService = smokerConnectionService; }