using OmsorgCore.Domain.Entities;

namespace OmsorgCore.Application.Services;

public interface IFacilityContactService
{
    Task<IReadOnlyList<FacilityContact>> GetByFacilityIdAsync(Guid facilityId, CancellationToken cancellationToken = default);
    Task<FacilityContact?> GetByIdAsync(Guid id, CancellationToken cancellationToken = default);
    Task<FacilityContact> CreateAsync(FacilityContact contact, CancellationToken cancellationToken = default);
    Task<FacilityContact?> UpdateAsync(Guid id, FacilityContact updates, CancellationToken cancellationToken = default);
    Task<bool> DeleteAsync(Guid id, CancellationToken cancellationToken = default);
    Task<IReadOnlyList<FacilityContact>> GetDeletedAsync(string? search, CancellationToken cancellationToken = default);
    Task<bool> RestoreAsync(Guid id, CancellationToken cancellationToken = default);
}
