Exemple #1
0
 public string GetParagraphs(string input)
 {
     try
     {
         return(ResponseControllerRepository.ExtractParagraphs(input).ToString());
     }
     catch (Exception e)
     {
         throw new Exception("Failed", e);
     }
 }
Exemple #2
0
 public string GetCheckLocation(string input)
 {
     try
     {
         return(ResponseControllerRepository.CheckLocation(input).ToString());
     }
     catch (Exception e)
     {
         throw new Exception("Failed", e);
     }
 }
Exemple #3
0
 public string GetResponse(string input)
 {
     try
     {
         return(ResponseControllerRepository.GetResponse(input));
     }
     catch (Exception e)
     {
         throw new Exception("Failed", e);
     }
 }
Exemple #4
0
 public string GetUpdateDataset(string input)
 {
     try
     {
         if (input.Contains(adminKey))
         {
             return(ResponseControllerRepository.UpdateDatasetTags(input).ToString());
         }
         else
         {
             return("Permission Denied!");
         }
     }
     catch (Exception e)
     {
         throw new Exception("Failed", e);
     }
 }