public async Task <IActionResult> GetCurrentProfileConfig( [FromRoute] string specificationId, [FromRoute] string providerId, [FromRoute] string fundingStreamId) { ApiResponse <IEnumerable <FundingLineProfile> > fundingLineApiResponse = await _publishingApiClient .GetCurrentProfileConfig( specificationId, providerId, fundingStreamId); IActionResult errorResult = fundingLineApiResponse.IsSuccessOrReturnFailureResult(nameof(GetCurrentProfileConfig)); if (errorResult != null) { return(errorResult); } return(Ok(fundingLineApiResponse.Content)); }