mod Repository Interfaces

This commit is contained in:
beo3000 2025-12-22 21:21:46 +01:00
parent b9dd2b2af0
commit bb1d08f32c
2 changed files with 4 additions and 1 deletions

View File

@ -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 |

View File

@ -10,8 +10,11 @@ namespace Koogle.Domain.Interfaces
public interface IDayRepository
{
Task<List<Day>> GetAllAsync(Guid yearId, Guid clubId, CancellationToken cancellationToken = default);
Task<List<Day>> GetByClubIdAsync(Guid clubId, CancellationToken cancellationToken = default);
Task<Day?> GetByIdAsync(Guid id, CancellationToken cancellationToken = default);
Task<Day?> GetActiveDayAsync(Guid clubId, CancellationToken cancellationToken = default);
Task<Day> AddAsync(Day day, CancellationToken cancellationToken = default);
Task<Day> UpdateAsync(Day day, CancellationToken cancellationToken = default);
Task<bool> DeleteAsync(Guid id, CancellationToken cancellationToken = default);
}
}