11 lines
384 B
C#
11 lines
384 B
C#
namespace UtopiaCanteenSystem.Services;
|
|
|
|
/// <summary>
|
|
/// Syncs unsynced lunch_order_transactions to the configured UIND API endpoint.
|
|
/// </summary>
|
|
public interface ISyncService
|
|
{
|
|
/// <summary>Runs one sync: POST unsynced records to production/HRMS and mark as synced on success.</summary>
|
|
Task<SyncNowResult> SyncNowAsync(CancellationToken cancellationToken = default);
|
|
}
|