mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 18:03:13 +00:00
18 lines
864 B
C#
18 lines
864 B
C#
using SeaHaven.Services.DTOs;
|
|
|
|
namespace SeaHaven.Services.Interfaces
|
|
{
|
|
public interface IFollowUpService
|
|
{
|
|
Task<FollowUpDTO?> GetFollowUpByIdAsync(int id);
|
|
Task<FollowUpDTO?> GetFollowUpByIdWithDetailsAsync(int id);
|
|
Task<IEnumerable<FollowUpDTO>> GetAllFollowUpsAsync();
|
|
Task<IEnumerable<FollowUpDTO>> GetFollowUpsByWorkOrderIdAsync(int workOrderId);
|
|
Task<PagedResult<FollowUpDTO>> GetFollowUpsPagedAsync(int page, int pageSize, string? search = null, string? status = null);
|
|
Task<FollowUpDTO> CreateFollowUpAsync(CreateFollowUpDTO dto, string userId);
|
|
Task<FollowUpDTO> UpdateFollowUpAsync(int id, UpdateFollowUpDTO dto, string userId);
|
|
Task DeleteFollowUpAsync(int id, string userId);
|
|
Task<bool> FollowUpExistsAsync(int id);
|
|
Task<int> GetTotalFollowUpCountAsync();
|
|
}
|
|
}
|