Vorbereitung zur Veröffentlichung I: Letzter Stand auf Startseite

This commit is contained in:
Simon Martens
2023-02-21 15:54:50 +01:00
parent b72637baa4
commit 99693b0c1d
6 changed files with 1698 additions and 6058 deletions

View File

@@ -12,9 +12,15 @@ public class IndexViewModel {
public string? ActiveVolume { get; private set; }
public string? ActivePage { get; private set; }
public string EndYear { get; private set; }
public string EndPageString { get; private set; }
public IndexViewModel(
List<(int Year, List<BriefeMetaViewModel> LetterList)>? letters,
int activeYear,
string endYear,
string endPageString,
List<(int StartYear, int EndYear)>? availableYears,
List<(string Key, string Name)>? availablePersons,
List<(string Volume, List<string> Pages)>? availablePages,
@@ -34,5 +40,7 @@ public class IndexViewModel {
ActiveVolume = activeVolume;
ActivePage = activePage;
ActivePerson = activePerson;
EndYear = endYear;
EndPageString = endPageString;
}
}