Utopia-Canteen-System/Services/IMealSessionResolver.cs

16 lines
556 B
C#

using UtopiaCanteenSystem.Models;
namespace UtopiaCanteenSystem.Services;
/// <summary>
/// Resolves current meal session from DB-driven schedule (Phase 2.5). Replaces hardcoded time windows.
/// </summary>
public interface IMealSessionResolver
{
/// <summary>
/// Returns the active meal session for the given local time and site, or MealSession.None if outside all windows.
/// </summary>
//MealSession GetCurrentSession(DateTime nowLocal, string siteId);
ResolvedMealSession? GetCurrentSession(DateTime nowLocal, string siteId);
}