mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-07 16:19:07 +00:00
15 lines
418 B
C#
15 lines
418 B
C#
using Data.SeaHavenIndustries;
|
|
|
|
namespace SeaHaven.DataServices.Interfaces
|
|
{
|
|
public interface IWorkOrderFieldLockDataService
|
|
{
|
|
Task<bool> IsLockedAsync(int workOrderId, string fieldName, CancellationToken cancellationToken);
|
|
|
|
Task EnqueueLockAsync(
|
|
int workOrderId,
|
|
string fieldName,
|
|
string? userId,
|
|
CancellationToken cancellationToken);
|
|
}
|
|
}
|