public IActionResult GetGraphsForEndpoint([FromRoute] string endpoint) { var graphs = _endpointService.GetEndpointGraphs(endpoint); if (graphs != null) { return(Ok(graphs)); } return(NotFound(new CustomErrorVm() { CustomErrorMessage = $"No graphs found. Check selected endpoint configuration at {UrlHelperClass.GetEndpointUrl(Request.GetEncodedUrl())}" })); }