public async Task <ActionResult> GetAuthPolicyAsync(string topicKeyName, string policyKeyName) { if (!await _serviceBusService.TopicExistAsync(topicKeyName)) { return(NotFound()); } var result = await _serviceBusService.GetSharedAuthenticationPolicyAsync(topicKeyName, policyKeyName); if (result == null) { return(NotFound()); } return(Ok(result)); }