Beispiel #1
0
 public static void TerminateActivistWithLogging (Person p, EventSource eventSourceSignupPage)
 {
     int orgId = 1;
     PWEvents.CreateEvent(eventSourceSignupPage,
         EventType.LostActivist,
         p.Identity,
         orgId,
         p.Geography.Identity,
         p.Identity,
         0,
         string.Empty);
     p.TerminateActivist();
     PWLog.Write(PWLogItem.Person, p.Identity, PWLogAction.ActivistLost, "Lost as activist", string.Empty);
 }