Esempio n. 1
0
        public IQueryable <ChatViewModel> GetChats()
        {
            string userId   = User.Identity.GetUserId();
            string userName = User.Identity.Name;

            return(ChatsService.GetUserChats(userId, userName));
        }