shoc-backend/SeaHaven.DataServices/Interfaces/IQuotesDataService.cs
2026-05-14 11:00:12 -05:00

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