Beispiel #1
0
        public IHttpActionResult GetClaimById(int claimId)
        {
            var claim = claimService.GetClaimById(claimId);

            if (claim != null)
            {
                return(Ok(claim));
            }
            else
            {
                return(NotFound());
            }
        }