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; } }
/// <summary> /// /// </summary> /// <param name="siteTagId"></param> public void Delete(long contentId) { _contentLibrary.Delete(contentId); }