Example #1
0
        public async Task <IEnumerable <ChatUserDTO> > BrowseAsync(UserRole role)
        {
            var chatUsers = await _chatUserRepository.BrowseAsync(role);

            return(_mapper.Map <IEnumerable <ChatUserDTO> >(chatUsers));
        }