public ActionResult <Pagelist <ClientSecretDto> > GetApiSecrets([FromQuery] PageInputDto pageInput, int clientId) { if (!ModelState.IsValid) { return(BadRequest(ModelStateErrors)); } var result = _clientAppService.GetClientSecrets(pageInput, clientId); return(result); }