mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 20:03:11 +00:00
16 lines
513 B
C#
16 lines
513 B
C#
using Data.SeaHavenIndustries;
|
|
|
|
namespace SeaHaven.DataServices.Interfaces
|
|
{
|
|
public interface IQuotesDataService
|
|
{
|
|
Task<Quotes?> GetByIdAsync(int id);
|
|
Task<IEnumerable<Quotes>> GetAllAsync();
|
|
Task<IEnumerable<Quotes>> GetByWorkOrderIdAsync(int workOrderId);
|
|
Task<Quotes> AddAsync(Quotes quote);
|
|
Task UpdateAsync(Quotes quote);
|
|
Task DeleteAsync(int id);
|
|
Task<bool> ExistsAsync(int id);
|
|
Task UnlinkFromWorkOrderAsync(int workOrderId);
|
|
}
|
|
}
|