Пример #1
0
 public async Task <IEnumerable <ChatListModel> > GetChats()
 {
     Thread.CurrentPrincipal = Context.User;
     logger.Debug($"User {Context.User.Identity.Name} get chats");
     return(await _chat.GetChats());
 }