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); } }