using System.Data.Common; using GB5Shared.DTO.Framework.Login; using GB5Shared.ResponseStandard; using MMDAL.DTO.Scheduling; namespace MMDAL.CustomCode.Scheduling { public interface IBatchRuleDAL { Task GetBatchRule(int batchRuleId, LoginDTO loginDTO, CancellationToken ct = default); Task> GetBatchRuleList(int workCenterId, LoginDTO loginDTO, CancellationToken ct = default); Task GetBatchRuleForProcess(int workCenterId, int processId, LoginDTO loginDTO, CancellationToken ct = default); Task> SaveBatchRule(BatchRuleDTO dto, LoginDTO loginDTO, DbTransaction tx); Task> UpdateBatchRule(BatchRuleDTO dto, LoginDTO loginDTO, DbTransaction tx); Task> DeleteBatchRule(int batchRuleId, LoginDTO loginDTO, DbTransaction tx); } }