Files
Core_Be/Interfaces/ICustomerNotificationRepository.cs
T
Dhananjaya99 bffc9b1686 first commit
2026-09-28 11:44:26 +05:30

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);
}
}