using FrameworkDAL.DTO.EIPConversation; using GB5Shared.DTO.Framework.Login; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace FrameworkDAL.CustomCode.EIPConversation.EIPFlowAdmin { public interface IEIPFlowAdminDAL { Task> GetFlowListAsync( byte? flowStatus, string? search, LoginDTO login, CancellationToken ct = default); Task GetFlowAsync( int flowDefinitionId, LoginDTO login, CancellationToken ct = default); Task InsertFlowAsync( EIPFlowAdminDTO dto, LoginDTO login, CancellationToken ct = default); Task UpdateFlowAsync( EIPFlowAdminDTO dto, LoginDTO login, CancellationToken ct = default); Task DeleteFlowAsync( int flowDefinitionId, LoginDTO login, CancellationToken ct = default); Task FlowCodeExistsAsync( string flowCode, int tenantId, int excludeFlowDefinitionId, LoginDTO login, CancellationToken ct = default); } }