mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 07:33:14 +00:00
17 lines
513 B
C#
17 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);
|
||
|
|
}
|
||
|
|
}
|