public GetGroupsResponse GetGroups(ISession session, GetGroupsRequest request)
        {
            var response = request.CreateResponse <GetGroupsResponse>();
            var groups   = _groupChatsRepository.GetGroupsForUser(session.UserId).Select(id => _groupChatsRepository.GetChat(id));

            //TODO: AutoMapper
            response.Groups = groups.Select(groupChat =>
                                            new GroupInfo
            {
                Avatar       = groupChat.Avatar,
                CreatedAt    = groupChat.CreatedAt,
                GroupId      = groupChat.GroupId,
                Name         = groupChat.Name,
                OwnerId      = groupChat.OwnerId,
                Participants = groupChat.Participants
                               .Select(p => new ClientDto.Entities.GroupChatParticipant {
                    UserId = p.UserId, Avatar = p.Avatar, Devices = p.Devices, Name = p.Name
                })
                               .ToList()
            }).ToList();

            return(response);
        }