Files
chapter-organizer/WebApp/ChapterSettings.cs
T
poprhythm ea21406309 Meeting schedule updates
including copy to clipboard
2025-10-27 10:13:54 -04:00

24 lines
474 B
C#

using System.ComponentModel.DataAnnotations;
namespace WebApp
{
public class StateContainer
{
private int[]? _scheduledTeams;
public int[] UserId
{
get => _scheduledTeams ?? [];
set
{
_scheduledTeams = value;
NotifyStateChanged();
}
}
public event Action? OnChange;
private void NotifyStateChanged() => OnChange?.Invoke();
}
}