using Data.SeaHavenIndustries; namespace SeaHaven.DataServices.Interfaces { public interface ICommentDataService { Task GetByIdAsync(int id); Task> GetAllAsync(); Task> GetByWorkOrderIdAsync(int workOrderId); Task> GetByDispatchIdAsync(int dispatchId); Task AddAsync(Comments comment); Task UpdateAsync(Comments comment); Task DeleteAsync(int id); Task ExistsAsync(int id); Task StageAsync(Comments comment, CancellationToken cancellationToken); Task> GetVendorViewableForDispatchAsync(int dispatchId, CancellationToken cancellationToken); } }