public async Task SaveTradeServer(TradeServer server)
        {
            await configurationServer.SaveTradeServerAsync(server.ToCoreTradeServer()).ConfigureAwait(false);

            await serverMonitorCache.RefreshServerMonitorsAsync().ConfigureAwait(false);
        }
示例#2
0
        public async Task SaveServer(Server server)
        {
            await configurationServer.SaveServerAsync(server.ToInterfaceServer());

            await serverMonitorCache.RefreshServerMonitorsAsync();
        }