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