17 lines
628 B
C#
17 lines
628 B
C#
using UtopiaCanteenSystem.Models;
|
|
|
|
namespace UtopiaCanteenSystem.Services;
|
|
|
|
/// <summary>
|
|
/// Fetches lunch menu items from local HRMS by site (lunch_menu_week.location_site_id).
|
|
/// Uses same HRMS connection as employee lookup.
|
|
/// </summary>
|
|
public interface IMenuLookupService
|
|
{
|
|
/// <summary>
|
|
/// Gets menu items (item_name, item_type) for the given site for the current week.
|
|
/// siteIdNumeric: match to lunch_menu_week.location_site_id (e.g. 2 for site "02").
|
|
/// </summary>
|
|
Task<IReadOnlyList<HrmsMenuItem>> GetMenuItemsForSiteAsync(int siteIdNumeric, CancellationToken cancellationToken = default);
|
|
}
|