|
@@ -5,17 +5,17 @@ namespace Luticate2.Utils.Business
|
5
|
5
|
{
|
6
|
6
|
public static class LuUtilsBusinessExtensions
|
7
|
7
|
{
|
8
|
|
- public static void NotifyCreate(this ILuNotificationsBusiness business, string entityType, object newEntity)
|
|
8
|
+ public static void NotifyCrudCreate(this ILuNotificationsBusiness business, string entityType, object newEntity)
|
9
|
9
|
{
|
10
|
10
|
business.Notify(LuUtilsConstants.EventCreate, entityType, null, newEntity);
|
11
|
11
|
}
|
12
|
12
|
|
13
|
|
- public static void NotifyUpdate(this ILuNotificationsBusiness business, string entityType, object oldEntity, object newEntity)
|
|
13
|
+ public static void NotifyCrudUpdate(this ILuNotificationsBusiness business, string entityType, object oldEntity, object newEntity)
|
14
|
14
|
{
|
15
|
15
|
business.Notify(LuUtilsConstants.EventUpdate, entityType, oldEntity, newEntity);
|
16
|
16
|
}
|
17
|
17
|
|
18
|
|
- public static void NotifyDelete(this ILuNotificationsBusiness business, string entityType, object oldEntity)
|
|
18
|
+ public static void NotifyCrudDelete(this ILuNotificationsBusiness business, string entityType, object oldEntity)
|
19
|
19
|
{
|
20
|
20
|
business.Notify(LuUtilsConstants.EventDelete, entityType, oldEntity, null);
|
21
|
21
|
}
|