string getNewATCid() { string id = "00"; while (DatabaseService.ATCExists(id)) { id = IdUtility.IncrementStringID(id); } return(id); }
string getConnectionID() { string id = "000"; while (connections.Exists(c => c.id == id)) { id = IdUtility.IncrementStringID(id); } return(id); }