Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Typo fix

supported75b725f251
diff --git a/src/Business/Grand.Business.Core/Interfaces/Marketing/PushNotifications/IPushNotificationsService.cs b/src/Business/Grand.Business.Core/Interfaces/Marketing/PushNotifications/IPushNotificationsService.cs
index f452fd9c2..0e561ccf1 100644
--- a/src/Business/Grand.Business.Core/Interfaces/Marketing/PushNotifications/IPushNotificationsService.cs
+++ b/src/Business/Grand.Business.Core/Interfaces/Marketing/PushNotifications/IPushNotificationsService.cs
@@ -20,8 +20,8 @@ namespace Grand.Business.Core.Interfaces.Marketing.PushNotifications
/// <summary>
/// Gets push receiver
/// </summary>
- /// <param name="CustomerId"></param>
- Task<PushRegistration> GetPushReceiverByCustomerId(string CustomerId);
+ /// <param name="customerId"></param>
+ Task<PushRegistration> GetPushReceiverByCustomerId(string customerId);
/// <summary>
/// Gets all push receivers
diff --git a/src/Business/Grand.Business.Marketing/Services/PushNotifications/PushNotificationsService.cs b/src/Business/Grand.Business.Marketing/Services/PushNotifications/PushNotificationsService.cs
index b50dfd6cc..6915b0a58 100644
--- a/src/Business/Grand.Business.Marketing/Services/PushNotifications/PushNotificationsService.cs
+++ b/src/Business/Grand.Business.Marketing/Services/PushNotifications/PushNotificationsService.cs
@@ -66,10 +66,10 @@ namespace Grand.Business.Marketing.Services.PushNotifications
/// <summary>
/// Gets push receiver
/// </summary>
- /// <param name="CustomerId"></param>
- public virtual async Task<PushRegistration> GetPushReceiverByCustomerId(string CustomerId)
+ /// <param name="customerId"></param>
+ public virtual async Task<PushRegistration> GetPushReceiverByCustomerId(string customerId)
{
- return await Task.FromResult(_pushRegistratiosnRepository.Table.Where(x => x.CustomerId == CustomerId).FirstOrDefault());
+ return await Task.FromResult(_pushRegistratiosnRepository.Table.Where(x => x.CustomerId == customerId).FirstOrDefault());
}
/// <summary>