Files
chapter-organizer/WebApp/Services/IMeetingScheduleDataService.cs
poprhythm ddb743847d Add meeting schedule state management services and related models
This commit introduces several new services and models to manage the meeting schedule state within localStorage. The MeetingScheduleState class is created to track scheduled teams, absent students, time slot counts, extended teams, and excluded students. Additionally, the IMeetingScheduleStateService interface and its implementation, MeetingScheduleStateService, are added to handle loading and saving state data. The MeetingScheduleClipboardService and MeetingScheduleDataService are also introduced to facilitate clipboard operations and data loading from the database, respectively. These enhancements improve the overall functionality and user experience of the meeting scheduling feature.
2026-01-19 23:02:55 -05:00

21 lines
516 B
C#

using Core.Entities;
using Microsoft.EntityFrameworkCore;
namespace WebApp.Services;
/// <summary>
/// Service for loading meeting schedule data from the database.
/// </summary>
public interface IMeetingScheduleDataService
{
/// <summary>
/// Loads all teams with their events and students.
/// </summary>
Task<Team[]> LoadTeamsAsync();
/// <summary>
/// Loads all students with their teams, event rankings, and related data.
/// </summary>
Task<Student[]> LoadStudentsAsync();
}