protected override void DoExecute(CodeActivityContext context) { devlog.Debug(string.Format("Called on '{0}'and '{1}'", ExchangeAppointment, AdapterId)); var myExchangeAppointment = ExchangeAppointment.Get(context); var myAdapterId = AdapterId.Get(context); devlog.Debug(string.Format("Got '{0}' and '{1}'", myExchangeAppointment, myAdapterId)); var dto = ExchangeRepository.ConvertToDTO(myExchangeAppointment, myAdapterId); AdapterAppointment.Set(context, dto); }