shoc-backend/SeaHaven.DataServices/Interfaces/IWorkOrderFieldLockDataService.cs

12 lines
327 B
C#
Raw Normal View History

using Data.SeaHavenIndustries;
namespace SeaHaven.DataServices.Interfaces
{
public interface IWorkOrderFieldLockDataService
{
Task<bool> IsLockedAsync(int workOrderId, string fieldName, CancellationToken cancellationToken);
void EnqueueLock(int workOrderId, string fieldName, string? userId);
}
}