shoc-backend/SeaHaven.Services/Interfaces/IFollowUpService.cs
2026-04-28 18:55:14 -05:00

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