예제 #1
0
        public IActionResult GetByUserId(int id)
        {
            var result = _claimService.GetByUserId(id);

            if (result.Success)
            {
                return(Ok(result));
            }

            return(BadRequest(result));
        }