public async Task SaveTradeServer(TradeServer server) { await configurationServer.SaveTradeServerAsync(server.ToCoreTradeServer()).ConfigureAwait(false); await serverMonitorCache.RefreshServerMonitorsAsync().ConfigureAwait(false); }
public async Task SaveServer(Server server) { await configurationServer.SaveServerAsync(server.ToInterfaceServer()); await serverMonitorCache.RefreshServerMonitorsAsync(); }