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