示例#1
0
        public IActionResult AcceptFriendsRequestsAndSendMessage(string user, string pass, string messageText)
        {
            var service = new MessageService(user, pass, messageText);
            var isSent  = service.AcceptFriendsAndSendMessage();

            return(Ok(isSent)); // If false, no pending friends requests.
        }