示例#1
0
 public IActionResult Get()
 {
     try
     {
         var xml    = ReadXml.GetObjectByXml();
         var format = new FormatDataXml();
         return(Ok(format.GetWordsHighestRelevanceByPostAndTotal(xml)));
     }
     catch (Exception e)
     {
         return(StatusCode(500, new Exception(e.Message)));
     }
 }