Пример #1
0
        //  private readonly HttpContextAccessor _httpContextAccessor;

        public ChatHub(IChatService chatService, ChatDbContent db)
        {
            _chatService = chatService;
            this.db      = db;
            //  _httpContextAccessor = httpContextAccessor;
        }
Пример #2
0
 public ChatService(UserManager <UserModel> userManager, SignInManager <UserModel> signInManager, ChatDbContent chatDbContent)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _chatDbContent = chatDbContent;
 }