using FrameworkDAL.DTO.EIPConversation; using GB5Shared.DTO.Framework.Login; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace FrameworkDAL.CustomCode.EIPConversation.EIPChannelEndpointAdmin { public interface IEIPChannelEndpointAdminDAL { Task> GetEndpointListAsync( byte? channelType, LoginDTO login, CancellationToken ct = default); Task GetEndpointAsync( int endpointId, LoginDTO login, CancellationToken ct = default); Task InsertEndpointAsync( EIPChannelEndpointAdminDTO dto, LoginDTO login, CancellationToken ct = default); Task UpdateEndpointAsync( EIPChannelEndpointAdminDTO dto, LoginDTO login, CancellationToken ct = default); Task DeleteEndpointAsync( int endpointId, LoginDTO login, CancellationToken ct = default); Task EndpointPhoneExistsAsync( byte channelType, string phoneNumber, int excludeEndpointId, LoginDTO login, CancellationToken ct = default); } }