/// <summary>
        ///     Handles the Navigate event of the EntityNotificationService control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EntityInfoEventArgs" /> instance containing the event data.</param>
        private void EntityNotificationService_Navigate(object sender, EntityInfoEventArgs e)
        {
            if (SelectedTenant != null && SelectedTenant.Id != e.TenantId)
            {
                var tenantInfo = Tenants.FirstOrDefault(t => t.Id == e.TenantId);

                if (tenantInfo != null)
                {
                    SelectedTenant = tenantInfo;
                }
            }

            long   id;
            string val = e.Id;

            if (long.TryParse(e.Id, out id))
            {
                string alias;

                if (AliasMap.TryGetValue(id, out alias))
                {
                    long resolvedId = VerifyAliasMap(id, alias);

                    if (resolvedId != id)
                    {
                        if (AliasMap.TryGetValue(resolvedId, out alias))
                        {
                            val = alias;
                        }
                        else
                        {
                            val = resolvedId.ToString( );
                        }
                    }
                    else
                    {
                        val = alias;
                    }
                }
            }

            SelectedText = val;
        }