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