示例#1
0
        protected void _gvCurrentServerList_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            switch (e.CommandName.ToLower())
            {
            case "deletecontent":
                _contentLib.Delete(Convert.ToInt64(e.CommandArgument.ToString()));
                LoadCurrentContentList();
                LoadRemoteContentList();

                PopulateCurrentContents();
                PopulateRemoteContents();
                break;
            }
        }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="siteTagId"></param>
 public void Delete(long contentId)
 {
     _contentLibrary.Delete(contentId);
 }