22 lines
760 B
C#
22 lines
760 B
C#
using Fitness_core_BE.Models;
|
|
|
|
namespace Fitness_core_BE.Interfaces
|
|
{
|
|
public interface IOverdueLockRepository
|
|
{
|
|
Task<List<Client>> GetClientsWithOverdueLockPolicyAsync(CancellationToken ct = default);
|
|
Task<List<Guid>> GetOverdueCustomerIdsAsync(
|
|
Guid clientId,
|
|
DateTime thresholdDate,
|
|
CancellationToken ct = default);
|
|
Task<Customer?> GetCustomerByIdAsync(Guid customerId, CancellationToken ct = default);
|
|
Task<bool> IsCustomerAccessDisabledAsync(
|
|
Guid clientId,
|
|
Guid userId,
|
|
CancellationToken ct = default);
|
|
Task<List<Guid>> GetCustomersLockedForOverdueAsync(
|
|
Guid clientId,
|
|
CancellationToken ct = default);
|
|
}
|
|
}
|