public async Task <ActionResult <IEnumerable <Secret> > > Secrets(string resource)
        {
            var clients = await _apiResourceAppService.GetSecrets(resource);

            return(ResponseGet(clients));
        }
Example #2
0
        public async Task <ActionResult <DefaultResponse <IEnumerable <SecretViewModel> > > > Secrets(string name)
        {
            var clients = await _apiResourceAppService.GetSecrets(name);

            return(Response(clients));
        }