using FMDAL.DTO.ScanIdentifier; using GB5Shared.DTO.Framework.Login; using System.Data.Common; using System.Threading; using System.Threading.Tasks; namespace FMDAL.CustomCode.ScanIdentifier { public interface IScanIdentifierDAL { Task GetScanIdentifier(int scanIdentifierId, LoginDTO login, CancellationToken ct); Task GetScanIdentifierByValue(string identifierValue, LoginDTO login, CancellationToken ct); Task SaveScanIdentifier(ScanIdentifierDTO dto, LoginDTO login, DbTransaction tx, CancellationToken ct); Task UpdateScanIdentifier(ScanIdentifierDTO dto, LoginDTO login, DbTransaction tx, CancellationToken ct); Task DeleteScanIdentifier(int scanIdentifierId, LoginDTO login, DbTransaction tx, CancellationToken ct); } }