Browse Source

renamed crud specific methods

tags/v0.6.0
Robin Thoni 7 years ago
parent
commit
29d96d6623

+ 3
- 3
Luticate2.Utils/Business/LuCrudWebSocketNotificationsBusiness.cs View File

@@ -28,17 +28,17 @@ namespace Luticate2.Utils.Business
28 28
 
29 29
         public void NotifyCreate(Type crudType, object newEntity)
30 30
         {
31
-            _luWebSocketNotificationsBusiness.NotifyCreate(GetEntityType(crudType), newEntity);
31
+            _luWebSocketNotificationsBusiness.NotifyCrudCreate(GetEntityType(crudType), newEntity);
32 32
         }
33 33
 
34 34
         public void NotifyUpdate(Type crudType, object oldEntity, object newEntity)
35 35
         {
36
-            _luWebSocketNotificationsBusiness.NotifyUpdate(GetEntityType(crudType), oldEntity, newEntity);
36
+            _luWebSocketNotificationsBusiness.NotifyCrudUpdate(GetEntityType(crudType), oldEntity, newEntity);
37 37
         }
38 38
 
39 39
         public void NotifyDelete(Type crudType, object oldEntity)
40 40
         {
41
-            _luWebSocketNotificationsBusiness.NotifyDelete(GetEntityType(crudType), oldEntity);
41
+            _luWebSocketNotificationsBusiness.NotifyCrudDelete(GetEntityType(crudType), oldEntity);
42 42
         }
43 43
     }
44 44
 }

+ 3
- 3
Luticate2.Utils/Business/LuUtilsBusinessExtensions.cs View File

@@ -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
         }

Loading…
Cancel
Save