first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user