using System.Data.Common; using GB5Shared.DTO.Framework.Login; using MMDAL.DTO.PartLevel; namespace MMDAL.CustomCode.PartLevel { public interface IPartAllocationDAL { Task> GetPartAllocationList(int partDetailId, LoginDTO loginDTO, CancellationToken ct); Task GetPartAllocation(int partAllocationId, LoginDTO loginDTO, CancellationToken ct); Task InsertPartAllocation(PartAllocationDTO dto, LoginDTO loginDTO, DbTransaction tx, CancellationToken ct); Task UpdateIssued(int partAllocationId, decimal quantity, LoginDTO loginDTO, DbTransaction tx, CancellationToken ct); Task UpdateConsumed(int partAllocationId, decimal quantity, LoginDTO loginDTO, DbTransaction tx, CancellationToken ct); Task UpdateReleased(int partAllocationId, LoginDTO loginDTO, DbTransaction tx, CancellationToken ct); } }