// Add new camera group public void AddCamerasGroup(Group group) { group.ID = nextCamerasGroupID++; camerasGroups.Add(group); // save SaveCameras(); }
// Add new views group public void AddViewsGroup(Group group) { group.ID = nextViewsGroupID++; viewsGroups.Add(group); // save SaveViews(); }