mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 09:33:13 +00:00
19 lines
789 B
C#
19 lines
789 B
C#
using Data.SeaHavenIndustries;
|
|
|
|
namespace SeaHaven.DataServices.Interfaces
|
|
{
|
|
public interface IFollowUpDataService
|
|
{
|
|
Task<FollowUps?> GetByIdAsync(int id);
|
|
Task<FollowUps?> GetByIdWithDetailsAsync(int id);
|
|
Task<IEnumerable<FollowUps>> GetAllAsync();
|
|
Task<IEnumerable<FollowUps>> GetByWorkOrderIdAsync(int workOrderId);
|
|
Task<IEnumerable<FollowUps>> GetByUserIdAsync(string userId);
|
|
Task<(IEnumerable<FollowUps> Items, int TotalCount)> GetPagedAsync(int page, int pageSize, string? search = null, string? status = null);
|
|
Task<FollowUps> AddAsync(FollowUps followUp);
|
|
Task UpdateAsync(FollowUps followUp);
|
|
Task DeleteAsync(int id);
|
|
Task<bool> ExistsAsync(int id);
|
|
Task<int> CountAsync();
|
|
}
|
|
}
|