Example #1
0
        /// <summary>
        /// 服务移除
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public async Task <DeleteServiceOutput> DeleteService(DeleteServiceInput input)
        {
            await _serviceDiscovery.DeregisterServiceAsync(input.ServiceId);

            return(new DeleteServiceOutput {
            });
        }
        public async Task <BaseOutput> DeleteService([FromBody] DeleteServiceInput input)
        {
            await _serviceDiscovery.DeregisterServiceAsync(input.ServiceId);

            return(new BaseOutput {
            });
        }