protected override void DoExecute(CodeActivityContext context) { devlog.Debug(string.Format("Called on '{0}'and '{1}'", ExchangeAppointment, FoundDuplicity)); var myExchangeAppointment = ExchangeAppointment.Get(context); var myFoundDuplicity = FoundDuplicity.Get(context); devlog.Debug(string.Format("Got '{0}' and '{1}'", myExchangeAppointment, myFoundDuplicity)); ExchangeRepository.ChangeInternalIdBecauseOfDuplicity(myExchangeAppointment, myFoundDuplicity); }