/* Initializes the callback function and calls the appropriate
         * function to confirm the order
         */
        private void ConfirmOrder(OrderContainer orderCon)
        {
            var cb = new Requests.ConfirmOrderCallBack(UpdateConfirmStatusUI);

            switch (orderCon.Service)
            {
            case "DoorDash":
                Requests.ConfirmDoorDashOrder(orderCon, cb);
                break;

            case "GrubHub":
                Requests.ConfirmGrubHubOrder(orderCon, cb);
                break;

            default:
                Debug.WriteLine("Unhandled confirm for service: " + orderCon.Service);
                break;
            }
        }