public bool CreateGroup(string groupName) { // Create a new Group in the DB and singleton // Once new group is created broadcast Singleton thisInstance = Singleton.Instance; try { // Insert group into DB and get the returned groupID so a Group object can be created Group newGroup = new Group(groupName); DB_Update.createGroup(newGroup); thisInstance.AddGroup(newGroup); Broadcast(); return(true); } catch { return(false); } }