protected void btnSave_Click(object sender, EventArgs e) { if (_adminUserBll.CheckUserNameExists(txtUserName.Text)) { DisplayMessage.ShowMessage("Username already registered, please choose a another username !", Page); return; } else if (_adminUserBll.CheckEmailExists(txtEmail.Text)) { DisplayMessage.ShowMessage("Email already registered, please choose a another email !", Page); return; } else { AddNewAdminUser(); ClearControls.ClearControl(this); DisplayMessage.ShowMessage("Inserted successfully !", Page); } }