コード例 #1
0
        public async Task <ActionResult> GetSubscriptionsAsync(string topicKeyName)
        {
            if (!await _serviceBusService.TopicExistAsync(topicKeyName))
            {
                return(NotFound());
            }

            var result = await _serviceBusService.GetSubscriptionsAsync(topicKeyName);

            return(Ok(result));
        }