15 lines
797 B
C#
15 lines
797 B
C#
using Fitness_core_BE.Models;
|
|
|
|
namespace Fitness_core_BE.Interfaces
|
|
{
|
|
public interface ICustomerNotificationRepository
|
|
{
|
|
Task CreateAsync(CustomerNotification notification, CancellationToken ct = default);
|
|
Task CreateManyAsync(IEnumerable<CustomerNotification> notifications, CancellationToken ct = default);
|
|
Task<List<CustomerNotification>> GetByCustomerIdAsync(Guid customerId, CancellationToken ct = default);
|
|
Task<CustomerNotification?> GetByIdAsync(Guid customerNotificationId, Guid customerId, CancellationToken ct = default);
|
|
Task<string?> GetCustomerPushTokenAsync(Guid customerId, CancellationToken ct = default);
|
|
Task<List<string>> GetCustomerPushTokensAsync(IEnumerable<Guid> customerIds, CancellationToken ct = default);
|
|
}
|
|
}
|