Ejemplo n.º 1
0
 public static void SubscribeEvents(this IMessageSubscriber subscriber)
 {
     subscriber.SubscribeEvent <EmployeeCreated>();
     subscriber.SubscribeEvent <EmployeeDeleted>();
     subscriber.SubscribeEvent <EmployeeUpdated>();
 }