public IActionResult GetByUserId(int id) { var result = _claimService.GetByUserId(id); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }