public override void HandleExecute(MediaButler.Common.workflow.ChainRequest request)
 {
     //Standar Init Step activities
     myRequest = (ButlerProcessRequest)request;
     _MediaServicesContext = new CloudMediaContext(myRequest.MediaAccountName, myRequest.MediaAccountKey);
     //Read ServiceBus configuration from Step configuration
     myServiceBusData = Newtonsoft.Json.JsonConvert.DeserializeObject<ServiceBusData>(this.StepConfiguration);
     //Map info to output
     MapInfo();
     string jsonMessage = Newtonsoft.Json.JsonConvert.SerializeObject(this.myData);
     //Send Message
     this.SendMessage(jsonMessage);
     //step finish
 }
        public override void HandleExecute(MediaButler.Common.workflow.ChainRequest request)
        {
            //Standar Init Step activities
            myRequest             = (ButlerProcessRequest)request;
            _MediaServicesContext = new CloudMediaContext(myRequest.MediaAccountName, myRequest.MediaAccountKey);
            //Read ServiceBus configuration from Step configuration
            myServiceBusData = Newtonsoft.Json.JsonConvert.DeserializeObject <ServiceBusData>(this.StepConfiguration);
            //Map info to output
            MapInfo();
            string jsonMessage = Newtonsoft.Json.JsonConvert.SerializeObject(this.myData);

            //Send Message
            this.SendMessage(jsonMessage);
            //step finish
        }