Esempio n. 1
0
        /// <summary>
        /// Adds current user to a Group with given group name.
        /// </summary>
        /// <param name="groupName">
        /// Name of group which should be joined.
        /// </param>
        /// <returns></returns>
        public override async Task <string> JoinGroup(string groupName)
        {
            var user = await _manager.GetUser(connectionId : Context.ConnectionId);

            await this._manager.JoinGroup(user, groupName);

            return(groupName);
        }