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