protected override void DoExecute(CodeActivityContext context) { devlog.Debug(string.Format("Entered for '{0}' and '{1}'", AdapterAppointment, Consumer)); var myAdapterAppointment = AdapterAppointment.Get(context); devlog.Debug(string.Format("Got for '{0}'", myAdapterAppointment)); var consumer = AdapterAppointmentRepository.GetConsumerByAdapterAppointment(myAdapterAppointment); devlog.Debug(string.Format("Consumer is '{0}'", consumer)); Consumer.Set(context, consumer.Value); }
protected override void DoExecute(CodeActivityContext context) { devlog.Debug(string.Format("Called on '{0}'and '{1}'", AdapterAppointment, ServiceAccountId)); var myAdapterAppointment = AdapterAppointment.Get(context); var myServiceAccountId = ServiceAccountId.Get(context); var myOriginalExchangeAppointment = OriginalExchangeAppointment.Get(context); devlog.Debug(string.Format("Got '{0}' and '{1}' and '{2}'", myAdapterAppointment, myServiceAccountId, myOriginalExchangeAppointment)); var exchangeAppointment = ExchangeRepository.ConvertFromDTO(myAdapterAppointment, myServiceAccountId, myOriginalExchangeAppointment); ExchangeAppointment.Set(context, exchangeAppointment); }