Пример #1
0
        public bool AcceptRequest(Guid key, Guid chatId, int operatorId)
        {
            if (!IsAuthenticated(key))
            {
                throw new Exception("The key is not authenticated");
            }

            return(ChatService.AcceptRequest(chatId, operatorId));
        }