public async Task <IActionResult> GetApprovedSpecificationsWithResults(string fundingPeriodId, string fundingStreamId)
        {
            Guard.IsNullOrWhiteSpace(fundingPeriodId, nameof(fundingPeriodId));
            Guard.IsNullOrWhiteSpace(fundingStreamId, nameof(fundingStreamId));

            ApiResponse <IEnumerable <SpecificationSummary> > response = await _specificationsApiClient.GetSpecificationResultsByFundingPeriodIdAndFundingStreamId(fundingPeriodId, fundingStreamId);

            if (response.StatusCode == HttpStatusCode.OK)
            {
                return(Ok(response.Content.OrderBy(c => c.Name)));
            }

            if (response.StatusCode == HttpStatusCode.BadRequest)
            {
                return(new BadRequestResult());
            }

            return(new StatusCodeResult(500));
        }