using FMDAL.DTO.AssetLedger; using GB5Shared.DTO.Framework.Login; using System.Collections.Generic; using System.Data.Common; using System.Threading; using System.Threading.Tasks; namespace FMDAL.CustomCode.AssetLedger { public interface IAssetLedgerDAL { Task GetAssetLedger(int assetLedgerId, LoginDTO login, CancellationToken ct); Task> GetAssetLedgerListByAsset(int assetId, LoginDTO login, CancellationToken ct); Task> GetAssetLedgerListByReference(string referenceType, int referenceId, LoginDTO login, CancellationToken ct); Task SaveAssetLedger(AssetLedgerDTO dto, LoginDTO login, DbTransaction tx, CancellationToken ct); Task VoidAssetLedger(int assetLedgerId, LoginDTO login, DbTransaction tx, CancellationToken ct); } }