private static TextToRecognise BuildDeepAffects(string message)
        {
            var text = new TextToRecognise
            {
                Content = message
            };

            return(text);
        }
        public TextAnalyticsResponse <SentimentResponse> Get(TextToRecognise text)
        {
            var requestContent =
                new StringContent(JsonConvert.SerializeObject(text), Encoding.UTF8, JsonContentType);

            var httpResponse = HttpClient.PostAsync(SentimentEndpoint, requestContent).Result;

            httpResponse.EnsureSuccessStatusCode();

            TextAnalyticsResponse <SentimentResponse> response = ReadResponseMessage <SentimentResponse>(httpResponse);

            return(response);
        }