Update interface of StatsRepo

This commit is contained in:
2026-01-23 16:54:05 +01:00
parent 387228a3cf
commit 656b578f9b
11 changed files with 6 additions and 152 deletions

View File

@@ -2,7 +2,6 @@ using LiteDB;
using skydiveLogs_api.Domain;
using skydiveLogs_api.DomainService.Repositories;
using skydiveLogs_api.Infrastructure.Interfaces;
using System.Collections.Generic;
namespace skydiveLogs_api.Infrastructure
{
@@ -37,11 +36,6 @@ namespace skydiveLogs_api.Infrastructure
return result;
}
public IEnumerable<StatsByYear> GetAll()
{
throw new System.NotImplementedException();
}
public StatsByYear GetAll(User user)
{
return _col.Include(x => x.User)
@@ -50,16 +44,6 @@ namespace skydiveLogs_api.Infrastructure
.SingleOrDefault();
}
public StatsByYear GetById(int id)
{
throw new System.NotImplementedException();
}
public int GetCount()
{
throw new System.NotImplementedException();
}
public bool Update(StatsByYear stats)
{
return _col.Update(stats);