public void Save() { dbBuilder.UpdateSettings(Id.Value, MachineName, BuildingId.Value, Folder, MaxDegreeOfParallelism, Version); IsLead = dbBuilder.IsLead(Id.Value, BuildingId.Value); }