Files
BeWoPlaner/BeWoPlanerMobil/Models/BaseSessionModel.cs
Lyndon 8ae75cfc77 Personenmodul hinzugefügt - schreibgeschützt
Mitarbeitermodul mit Abwesenheiten hinzugefügt
Einbau des Dokumententeils vereinfacht.
2026-02-04 18:03:01 +01:00

19 lines
619 B
C#

using System;
using System.Collections.Generic;
namespace BeWoPlanerMobil.Models
{
/// <summary>
/// Im SessionModel werden Oids in der Session gespeichert, um dann beim Neuladen (z.B. nach einer Post-Anfrage) ausgewählte Objekte wieder aus der Datenbank holen zu können.
/// </summary>
[Serializable]
public abstract class BaseSessionModel
{
public Dictionary<string, bool> Collapsibles2IsShown { get; set; } = new Dictionary<string, bool>();
public virtual void ResetValues()
{
Collapsibles2IsShown = new Dictionary<string, bool>();
}
}
}