public async Task <IActionResult> AdminFetchReview([FromRoute(Name = "venueId")] int venueId, [FromRoute(Name = "reviewId")] int reviewId) { return(await reviews.FetchVenueReview(venueId, reviewId) .Ensure(r => r.HasValue, "Review was found") .OnBoth(r => r.IsFailure ? StatusCode(404, "") : StatusCode(200, r.Value.Value)) .ConfigureAwait(false)); }