15 lines
476 B
C#
15 lines
476 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);
|
|
}
|