public async Task <bool> QueryKeyInUse(string devicerepoid, String key)
        {
            var repo = await _repoManager.GetDeviceRepositoryAsync(devicerepoid, OrgEntityHeader, UserEntityHeader);

            return(await _deviceGroupManager.QueryKeyInUseAsync(repo, key, OrgEntityHeader));
        }
Example #2
0
        public async Task <bool> QueryKeyInUse(String key)
        {
            var repo = await GetDeviceRepositoryWithSecretsAsync();

            return(await _deviceGroupManager.QueryKeyInUseAsync(repo, key, OrgEntityHeader));
        }