private void btnPromote_Click(object sender, EventArgs e) { if (m_identityId > 0) { using (Facade.IOrganisation facOrganisation = new Facade.Organisation()) { if (facOrganisation.UpdateOrganisationType(m_identityId, eOrganisationType.Client, ((Entities.CustomPrincipal)Page.User).UserName)) { Response.Redirect("addupdateorganisation.aspx?identityId=" + m_identityId.ToString()); } else { lblConfirmation.Text = "The client's customer was not promoted."; } } } else { lblConfirmation.Text = "You can not promote the client's customer until you have created it."; } lblConfirmation.Visible = true; }