From bb1d08f32ca1b7441f5fc34ce40f9f1e61812c65 Mon Sep 17 00:00:00 2001 From: beo3000 Date: Mon, 22 Dec 2025 21:21:46 +0100 Subject: [PATCH] mod Repository Interfaces --- docs/IMPLEMENTATION_PLAN.md | 2 +- src/Koogle.Domain/Interfaces/IDayRepository.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/IMPLEMENTATION_PLAN.md b/docs/IMPLEMENTATION_PLAN.md index 004de3d..b086c06 100644 --- a/docs/IMPLEMENTATION_PLAN.md +++ b/docs/IMPLEMENTATION_PLAN.md @@ -323,7 +323,7 @@ NavMenu.razor: | ✓ | Phase | Bereich | Beschreibung | Dateien | |---|-------|---------|--------------|---------| -| ☐ | A1 | Foundation | Repository Interfaces | 5 Interface-Dateien | +| ✓ | A1 | Foundation | Repository Interfaces | 5 Interface-Dateien | | ☐ | A2 | Foundation | Repository Implementations | 5 Repository-Dateien | | ☐ | A3 | Foundation | DTOs | 5 DTO-Dateien | | ☐ | A4 | Foundation | Service Interfaces | 5 Service-Interface-Dateien | diff --git a/src/Koogle.Domain/Interfaces/IDayRepository.cs b/src/Koogle.Domain/Interfaces/IDayRepository.cs index 85f4f3d..3f718b0 100644 --- a/src/Koogle.Domain/Interfaces/IDayRepository.cs +++ b/src/Koogle.Domain/Interfaces/IDayRepository.cs @@ -10,8 +10,11 @@ namespace Koogle.Domain.Interfaces public interface IDayRepository { Task> GetAllAsync(Guid yearId, Guid clubId, CancellationToken cancellationToken = default); + Task> GetByClubIdAsync(Guid clubId, CancellationToken cancellationToken = default); + Task GetByIdAsync(Guid id, CancellationToken cancellationToken = default); Task GetActiveDayAsync(Guid clubId, CancellationToken cancellationToken = default); Task AddAsync(Day day, CancellationToken cancellationToken = default); Task UpdateAsync(Day day, CancellationToken cancellationToken = default); + Task DeleteAsync(Guid id, CancellationToken cancellationToken = default); } }