mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 23:33:10 +00:00
16 lines
418 B
C#
16 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);
|
||
|
|
}
|
||
|
|
}
|