mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Migitated some null risks
This commit is contained in:
@@ -13,5 +13,6 @@ public class FileModel {
|
||||
IsUsed = isUsed;
|
||||
LastModified = lastModified;
|
||||
InProduction = inProduction;
|
||||
Prefix = prefix;
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ public class SucheViewModel {
|
||||
public int Count { get; private set; }
|
||||
public int ActiveYear { get; private set; }
|
||||
public List<(int StartYear, int EndYear)>? AvailableYears { get; private set; }
|
||||
public string? ActivePerson {get; set; }
|
||||
public string? ActivePerson { get; set; }
|
||||
public List<(string Key, string Name)>? AvailablePersons { get; private set; }
|
||||
public List<(string Volume, List<string> Pages)>? AvailablePages { get; private set; }
|
||||
public string? ActiveVolume { get; private set; }
|
||||
@@ -15,10 +15,10 @@ public class SucheViewModel {
|
||||
public Dictionary<string, List<SearchResult>>? SearchResults { get; private set; }
|
||||
|
||||
public SucheViewModel(
|
||||
List<(int Year, List<BriefeMetaViewModel> LetterList)>? letters,
|
||||
int activeYear,
|
||||
List<(int StartYear, int EndYear)>? availableYears,
|
||||
List<(string Key, string Name)>? availablePersons,
|
||||
List<(int Year, List<BriefeMetaViewModel> LetterList)>? letters,
|
||||
int activeYear,
|
||||
List<(int StartYear, int EndYear)>? availableYears,
|
||||
List<(string Key, string Name)>? availablePersons,
|
||||
List<(string Volume, List<string> Pages)>? availablePages,
|
||||
string? activeVolume,
|
||||
string? activePage,
|
||||
|
||||
Reference in New Issue
Block a user