public DeliveryMechanism(IToggleWorkshopAttendance toggleWorkshopAttendance, IGetWorkshops getWorkshops,
                          string port)
 {
     _toggleWorkshopAttendance = toggleWorkshopAttendance;
     _getWorkshops             = getWorkshops;
     _port = port;
 }
            public void GetWorkshops(HttpListenerResponse response, IGetWorkshops getWorkshops, string user)
            {
                GetWorkshopsResponse workshops = getWorkshops.Execute();
                var    slackMessage            = ToSlackMessage(workshops, user);
                string jsonForSlack            = JsonConvert.SerializeObject(slackMessage);

                byte[] responseArray = Encoding.UTF8.GetBytes(jsonForSlack);
                response.AddHeader("Content-type", "application/json");
                response.OutputStream.Write(responseArray, 0, responseArray.Length);
                Console.WriteLine("no payload");
            }