// private readonly HttpContextAccessor _httpContextAccessor; public ChatHub(IChatService chatService, ChatDbContent db) { _chatService = chatService; this.db = db; // _httpContextAccessor = httpContextAccessor; }
public ChatService(UserManager <UserModel> userManager, SignInManager <UserModel> signInManager, ChatDbContent chatDbContent) { _userManager = userManager; _signInManager = signInManager; _chatDbContent = chatDbContent; }