mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 22:23:12 +00:00
Stop client writes from changing Locations.AccountId, make the SH-221 migration discoverable, and thread the board-create CancellationToken through lookup and persistence.
20 lines
749 B
C#
20 lines
749 B
C#
using SeaHaven.DataServices.Interfaces;
|
|
|
|
namespace SeaHaven.DataServices.Interfaces
|
|
{
|
|
public interface IWorkOrderBoardDataService
|
|
{
|
|
Task<WorkOrderBoardQueryResult> GetBoardRowsAsync(
|
|
WorkOrderBoardQuery query,
|
|
CancellationToken cancellationToken = default);
|
|
Task<IReadOnlyList<DispatcherLookupRow>> GetDispatcherLookupsAsync();
|
|
Task<WorkOrderBoardRawRow?> GetBoardRowByIdAsync(
|
|
int workOrderId,
|
|
int? accountId = null,
|
|
CancellationToken cancellationToken = default);
|
|
Task<bool> InternalWoNumberExistsAsync(
|
|
string normalizedWoNumber,
|
|
int excludeWorkOrderId,
|
|
CancellationToken cancellationToken = default);
|
|
}
|
|
}
|