public OnlineUserService(IUserTokenService tokenService, IUserService userService)
 {
     _userService  = userService;
     _tokenService = tokenService;
     _onlineUsers  = UsersHolder.GetInstance();
 }
Exemplo n.º 2
0
 public static UsersHolder GetInstance()
 {
     return(Instance ?? (Instance = new UsersHolder()));
 }