Пример #1
0
 public void ProcessLogForInterventionSync(ActivityEvent log)
 {
     using (InterventionController intervention = new InterventionController())
     {
         intervention.ProcessActivityEvent(log);
     }
 }
Пример #2
0
 private async void ProcessLogForIntervention(SubmissionRequest request)
 {
     using (InterventionController intervention = new InterventionController())
     {
         intervention.ProcessActivityEvent(
             EventCollectionControllerHelper.GetActivityEvent(
                 new EventPostRequest
         {
             AuthToken   = request.AuthToken,
             SubmitEvent = request.SubmitEvent
         }
                 ));
     }
 }