public async Task <Result> SaveServerSettings(FactorioServerSettingsWebEditable settings)
        {
            string connectionId = Context.ConnectionId;

            if (Context.Items.TryGetValue(connectionId, out object serverId))
            {
                string id = (string)serverId;
                return(await _factorioServerManager.SaveEditableServerSettings(id, settings));
            }

            var error = Result.Failure(Constants.ServerIdErrorKey, $"The server id for the connection is invalid.");

            return(error);
        }