[ProducesResponseType(StatusCodes.Status500InternalServerError)] // if something unexpectedly went wrong with the database or http request/response public async Task <ActionResult <Furs2Feathers.Domain.Models.Claims> > GetClaims(int id) { var claims = await claimsRepo.FindAsync(id); if (claims == null) { return(NotFound()); } return(Ok(claims)); }