public IHttpActionResult GetClaimById(int claimId) { var claim = claimService.GetClaimById(claimId); if (claim != null) { return(Ok(claim)); } else { return(NotFound()); } }