using FrameworkDAL.DTO.DocumentType; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using System.Collections.Generic; using System.Threading.Tasks; namespace FrameworkBLL.DocumentType { public interface IDocumentTypeBLL { Task GetDocumentType(int DocumentTypeId, LoginDTO LoginDTO); /// /// Retrieves a paginated list of DocumentType records based on specified filter criteria. /// Can optionally return the total count of records instead of the list. /// /// The starting index of records to fetch (for pagination). /// The maximum number of records to fetch. /// Filter criteria for selecting DocumentType. /// The current user's login details. /// If true, returns the total count of matching records instead of the list. /// A JSON string representing either the list of DocumentType records or the total count. Task GetSelectListDocumentType(int firstNumber, int maxResult, CriteriaDTO criteriaDTO, LoginDTO LoginDTO, bool isCount = false); /// /// Deletes a DocumentType record by its unique identifier. /// Task DeleteDocumentType(int DocumentTypeId, LoginDTO LoginDTO); } }