protected void btnSave_Click(object sender, EventArgs e) { RolesEntity model = GetEntity(); int id = userApp.AddRole(model); if (id > 0) { this.ShowSuccessMessageToClient(); } else { this.ShowFailMessageToClient(userApp.BrokenRuleMessages); } }
protected void btnSave_Click(object sender, EventArgs e) { RolesEntity model = GetEntity(); int id = userApp.AddRole(model); if (id > 0) { Redirect(EmptyPopPageUrl, false, true); } else { this.ShowFailMessageToClient(userApp.BrokenRuleMessages); } }