public async Task <ActionResult> DeleteAuthPolicyAsync(string topicKeyName, string policyKeyName) { if (!await _serviceBusService.TopicExistAsync(topicKeyName)) { return(NotFound()); } await _serviceBusService.DeleteAuthenticationPolicyAsync(topicKeyName, policyKeyName); await _topicRepository.AddTopicLogAsync(new TopicLog() { TopicName = topicKeyName, PolicyName = policyKeyName, Action = TopicAction.DeleteAuthenticationPolicy }); return(Ok()); }