Little test with AI + Add the equipment (#8)
Tests using local LLM AI to add comments in the C# files For the flights tunnel, show the total to day/hours For the jump, add the equipment (now just with the wingsuit) Reviewed-on: #8 Co-authored-by: sandre <perso@sebastienandre.com> Co-committed-by: sandre <perso@sebastienandre.com>
This commit was merged in pull request #8.
This commit is contained in:
@@ -23,6 +23,10 @@ namespace skydiveLogs_api.DomainBusiness
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Retrieves statistics grouped by year.
|
||||
/// </summary>
|
||||
/// <returns>A collection of StatsByYear entities containing the statistics.</returns>
|
||||
public IEnumerable<StatsByYear> GetStats()
|
||||
{
|
||||
var allStats = _statsByYearRepository.GetAll(_identityService.ConnectedUser);
|
||||
@@ -50,6 +54,9 @@ namespace skydiveLogs_api.DomainBusiness
|
||||
return allStats;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Resets the year statistics.
|
||||
/// </summary>
|
||||
public void Reset()
|
||||
{
|
||||
_statsByYearRepository.Delete(_identityService.ConnectedUser);
|
||||
@@ -65,4 +72,4 @@ namespace skydiveLogs_api.DomainBusiness
|
||||
|
||||
#endregion Private Fields
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user