Some Bugfixes

This commit is contained in:
2024-01-19 00:19:59 +01:00
parent 51293baaae
commit 42bf01656e
7 changed files with 20 additions and 8 deletions

View File

@ -26,6 +26,10 @@ namespace Elwig.Models.Dtos {
MgNr = m.MgNr;
}
public static DeliveryConfirmationData CreateEmpty(int year, Member m) {
return new([], year, m);
}
public static async Task<IDictionary<int, DeliveryConfirmationData>> ForSeason(DbSet<DeliveryPart> table, int year) {
return (await FromDbSet(table, year))
.GroupBy(