protected void UpdateAccept_ServerClick(object sender, EventArgs e) { Catalogue productToUpdate = new Catalogue(Convert.ToInt32(Session["PRODUCTID"]), updateName.Value, updateDescription.Value, Convert.ToInt32(updatePrice.Value), Convert.ToInt32(updateAmount.Value)); resultMessage.InnerText = menuService.ChangeProductCharacteristicsService(productToUpdate); Response.Redirect("MenuAdministration.aspx"); }