public IReadOnlyCollection <UserActivity> GetUserActivities(LoggedUserInfo loggedUser) { ServerToken token = TokenRepository.Instance.GetToken(loggedUser.SessionId); if (token == null) { return(new List <UserActivity>().AsReadOnly()); } return(token.GetActivities()); }
public IReadOnlyCollection <UserActivity> GetUserActivities(LoggedUserInfo loggedUser) { ServerToken token = TokenRepository.Instance.GetToken(loggedUser.SessionId); return(token.GetActivities()); }