mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Chnaged README, worked on index strategy
This commit is contained in:
15
HaWeb/Models/SucheViewModel.cs
Normal file
15
HaWeb/Models/SucheViewModel.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HaWeb.Models;
|
||||
|
||||
public class SucheViewModel {
|
||||
public List<(int Year, List<BriefeMetaViewModel> LetterList)> Letters { get; private set; }
|
||||
public int Count { get; private set; }
|
||||
public int ActiveYears { get; private set; }
|
||||
public List<(int StartYear, int EndYear)> AvailableYears { get; private set; }
|
||||
|
||||
public SucheViewModel(List<(int Year, List<BriefeMetaViewModel> LetterList)> letters, int count, int activeYears, List<(int StartYear, int EndYear)> availableYears) {
|
||||
Letters = letters;
|
||||
Count = count;
|
||||
ActiveYears = activeYears;
|
||||
AvailableYears = availableYears;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user