mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 16:33:12 +00:00
16 lines
548 B
C#
16 lines
548 B
C#
using Data.SeaHavenIndustries;
|
|
|
|
namespace SeaHaven.DataServices.Interfaces
|
|
{
|
|
public interface ICommentDataService
|
|
{
|
|
Task<Comments?> GetByIdAsync(int id);
|
|
Task<IEnumerable<Comments>> GetAllAsync();
|
|
Task<IEnumerable<Comments>> GetByWorkOrderIdAsync(int workOrderId);
|
|
Task<IEnumerable<Comments>> GetByDispatchIdAsync(int dispatchId);
|
|
Task<Comments> AddAsync(Comments comment);
|
|
Task UpdateAsync(Comments comment);
|
|
Task DeleteAsync(int id);
|
|
Task<bool> ExistsAsync(int id);
|
|
}
|
|
}
|