using System.Collections.Generic; using System.Threading.Tasks; using MDL.Models; namespace DAL.Interfaces { public interface IShippingHandoverFormRepository { Task InsertAsync(ShippingHandoverFormEntity form); Task GetByIdAsync(int id); Task GetByHandoverNumberAsync(string handoverNumber); Task> GetAllAsync(); Task UpdateAsync(ShippingHandoverFormEntity form); Task DeleteAsync(int id); Task ExistsByHandoverNumberAsync(string handoverNumber); Task<(List Forms, int TotalCount)> GetShippingHandoverFormsBatchAsync( int page, int pageSize, string sortBy, string sortOrder, string handoverNumber, string channel, string creator, System.DateTime? startDeliveryTime = null, System.DateTime? endDeliveryTime = null); } }