public void GetRawArticleTextTest()
        {
            string article = "Lost Cities";

            string response = wikipediaReaderService.GetRawArticleText(ref article);

            Assert.Contains("'''''Lost Cities'''''", response);
        }
        public IActionResult GetArticle(string articleTitle)
        {
            try
            {
                return(Ok(wikipediaService.GetRawArticleText(ref articleTitle)));
            }
            catch (Exception e)
            {
                string message = $"Getting the raw article text failed. Requested article: {articleTitle}.\r\n" +
                                 $"Exception:\r\n{e}";

                logger.LogError($"{message}", e);
                return(BadRequest(message));
            }
        }