using Data.SeaHavenIndustries; using SeaHaven.DataServices.Models; namespace SeaHaven.DataServices.Interfaces { public interface IQuotesDataService { Task GetByIdAsync(int id); Task> GetAllAsync(); Task> GetByWorkOrderIdAsync(int workOrderId); Task AddAsync(Quotes quote); Task UpdateAsync(Quotes quote); Task DeleteAsync(int id); Task ExistsAsync(int id); Task UnlinkFromWorkOrderAsync(int workOrderId); Task<(IReadOnlyList Items, int TotalCount)> GetQuotesPagedAsync( int page, int pageSize, string search, CancellationToken cancellationToken); Task GetQuoteDetailsByIdAsync(int id, CancellationToken cancellationToken); Task> GetWorkOrderQuoteDetailsAsync( int woId, CancellationToken cancellationToken); Task DeleteLineItemsByQuoteIdAsync(int quoteId, CancellationToken cancellationToken); } }