public IActionResult dataValidate(IFormFile rdfFile, Guid repositoryIdentifier) { try { string rdfFileContent = SparqlUtility.GetTextFromFile(rdfFile); return(Ok(SparqlUtility.ValidateRDF(rdfFileContent, _shapeConfigService.GetShapesConfigs().FindAll(x => x.RepositoryID == repositoryIdentifier)))); } catch (Exception ex) { return(Problem(ex.ToString())); } }
public IActionResult GetShape() { return(Ok(_shapeConfigService.GetShapesConfigs())); }