Esempio n. 1
0
        public async Task <IActionResult> RemoveSecret([FromBody] int secretId)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelStateErrors));
            }
            var result = await _clientAppService.DeleteClientSecretAsync(secretId);

            return(ResultResponse(result, "删除ApiSecret成功"));
        }