public HttpResponseMessage Diff(string id) { var comparison = _comparisonService.Get(id); //We verify we got both values if (!string.IsNullOrWhiteSpace(comparison.Left) && !string.IsNullOrWhiteSpace(comparison.Right)) { return(Request.CreateResponse(HttpStatusCode.OK, _diffService.GetDifferences(comparison.Left, comparison.Right))); } return(Request.CreateErrorResponse(HttpStatusCode.NotFound, "The id requested has not left data and right data to be compared, please provide both side before call this endpoint.")); }