Add comments by AI

This commit is contained in:
2026-04-10 14:35:30 +02:00
parent faa4709aea
commit 4fc0065841
7 changed files with 88 additions and 16 deletions
@@ -24,11 +24,20 @@ namespace skydiveLogs_api.DomainBusiness
#region Public Methods
/// <summary>
/// Retrieves all tunnels.
/// </summary>
/// <returns>A collection of Tunnel entities containing all tunnels.</returns>
public IEnumerable<Tunnel> GetAllTunnels()
{
return GetAllRefTunnels();
}
/// <summary>
/// Retrieves a tunnel by its ID.
/// </summary>
/// <param name="id">The tunnel ID to retrieve.</param>
/// <returns>A Tunnel entity containing the tunnel details.</returns>
public Tunnel GetTunnelById(int id)
{
var allTunnels = GetAllRefTunnels();
@@ -70,4 +79,4 @@ namespace skydiveLogs_api.DomainBusiness
#endregion Private Fields
}
}
}