mod Repository Interfaces
This commit is contained in:
parent
b9dd2b2af0
commit
bb1d08f32c
|
|
@ -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 |
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue