public string GetParagraphs(string input) { try { return(ResponseControllerRepository.ExtractParagraphs(input).ToString()); } catch (Exception e) { throw new Exception("Failed", e); } }
public string GetCheckLocation(string input) { try { return(ResponseControllerRepository.CheckLocation(input).ToString()); } catch (Exception e) { throw new Exception("Failed", e); } }
public string GetResponse(string input) { try { return(ResponseControllerRepository.GetResponse(input)); } catch (Exception e) { throw new Exception("Failed", e); } }
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); } }