using System.Collections.Generic; using System.Data.Common; using System.Threading; using System.Threading.Tasks; using GB5Shared.DTO.Framework.Login; using GB5Shared.DTO.GOP; namespace FrameworkDAL.CustomCode.GOP { public interface IGopTargetOperationDAL { Task GetById(int targetOperationId, LoginDTO loginDTO, CancellationToken ct = default); Task> GetList(LoginDTO loginDTO, CancellationToken ct = default); Task> GetSelectList(LoginDTO loginDTO, CancellationToken ct = default); Task> GetListByEntityCode(string entityCode, LoginDTO loginDTO, CancellationToken ct = default); Task Save(GopTargetOperationDTO dto, LoginDTO loginDTO, DbTransaction tx, CancellationToken ct = default); Task Update(GopTargetOperationDTO dto, LoginDTO loginDTO, DbTransaction tx, CancellationToken ct = default); Task Delete(int targetOperationId, LoginDTO loginDTO, DbTransaction tx, CancellationToken ct = default); } }