/// <summary>
 /// Adds the connection group to user group.
 /// </summary>
 /// <returns><c>true</c>, if connection group to user group was added, <c>false</c> otherwise.</returns>
 /// <param name="groupName">Group name.</param>
 /// <param name="excepts">Excepts.</param>
 private bool AddConnectionGroupToUserGroup(string groupName, ref List <Exception> excepts)
 {
     GuacamoleDatabaseConnectionFacade.GuacamoleDatabaseConnectors.GuacamoleDatabaseInserter inserter = new GuacamoleDatabaseConnectionFacade.GuacamoleDatabaseConnectors.GuacamoleDatabaseInserter();
     return(inserter.InsertConnectionGroupIntoUserGroup(groupName, ref excepts));
 }
 /// <summary>
 /// Creates the new connection group.
 /// </summary>
 /// <returns><c>true</c>, if the connection group was created, <c>false</c> otherwise.</returns>
 /// <param name="groupForCreationDto">Group for creation dto.</param>
 /// <param name="excepts">Excepts.</param>
 private bool CreateConnectionGroup(GroupForCreationDto groupForCreationDto, ref List <Exception> excepts)
 {
     GuacamoleDatabaseConnectionFacade.GuacamoleDatabaseConnectors.GuacamoleDatabaseInserter inserter = new GuacamoleDatabaseConnectionFacade.GuacamoleDatabaseConnectors.GuacamoleDatabaseInserter();
     return(inserter.InsertConnectionGroup(groupForCreationDto.Name, groupForCreationDto.MaxVms, ref excepts));
 }