Exemple #1
0
        /// <summary>
        /// Delelets the clicked version
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void DeleteVersion(object sender, CommandEventArgs e)
        {
            int             versionId = int.Parse(e.CommandArgument.ToString());
            ProtocolVersion version   = new ProtocolVersion();

            version.Delete(versionId);

            Response.Redirect(GetQueryString("AdminProtocol.aspx"));
        }