Ejemplo n.º 1
0
        /// <summary>
        /// Delete the specified email list panels
        /// </summary>
        /// <param name="authenticationToken">Authentication ticket identifying calling user.</param>
        /// <param name="emailListId">ID list of the email list panels to delete.</param>
        /// <returns></returns>
        private static bool DeleteEmailListPanel(string authenticationToken, int emailListId)
        {
            var proxy = new InvitationManagementServiceClient();
            var result = proxy.DeleteEmailListPanel(authenticationToken, emailListId);

            // Handle exceptions
            if (!result.CallSuccess)
            {
                Console.WriteLine(result.FailureMessage);
                return false;
            }

            return true;
        }