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

26 lines
947 B
C#

namespace Fitness_core_BE.Interfaces.Services
{
public interface IPushNotificationService
{
// Persists a CustomerNotification row (for the mobile Notification tab) and, if the
// customer has a registered Expo push token, sends a real push too. routeName/routeParams
// mirror the mobile app's PushNavigationData contract (pushNotification.ts) so tapping
// either the push or the in-app list item navigates the same way.
Task NotifyCustomerAsync(
Guid customerId,
string title,
string body,
string notificationType,
string? routeName = null,
object? routeParams = null);
Task NotifyCustomersAsync(
IEnumerable<Guid> customerIds,
string title,
string body,
string notificationType,
string? routeName = null,
object? routeParams = null);
}
}