public ChatDTO GetOrCreateChat(AccountDTO accountDTO, string token)
        {
            IMapUser mapUser = new Map();
            IMainMap mainMap = new Map();
            Chat     chat    = new Chat();

            using (ChatRepository repository = new ChatRepository())
            {
                chat = repository.FindSoloChatByUser(mapUser.AccountDTOToUser(accountDTO), token);
                repository.Save();
            }
            using (UserRepository repository = new UserRepository())
            {
                chat.ChatImg  = repository.GetUserFromChat(chat, token).UserImg;
                chat.ChatName = repository.GetUserFromChat(chat, token).UserLogin;
            }
            return(mainMap.ChatToChatDTO(chat));
        }