/// <summary>
        /// Purges the entity of all messages (very crude - will purge all queues).
        /// </summary>
        /// <param name="entityName">Name of the entity to purge.</param>
        /// <param name="preserveState">if set to <c>true</c> [preserve state while purging] - ONLY RELEVANT FOR TOPICS.</param>
        /// <returns>Task.</returns>
        public async Task EntityFullPurge(string entityName, bool preserveState = true)
        {
            var isTopic = await ManagerClient.IsTopic(entityName);

            if (isTopic)
            {
                await ManagerClient.PurgeTopic(entityName, preserveState);
            }
            else
            {
                await ManagerClient.PurgeQueue(entityName);
            }
        }