//Handles approve recipe public void Approve_Recipe(object sender, EventArgs e) { ID = (int)Util.Val(Request.QueryString["id"]); Caching.PurgeCacheItems("MainCourse_RecipeCategory"); Caching.PurgeCacheItems("Ethnic_RecipeCategory"); Caching.PurgeCacheItems("RecipeCategory_SideMenu"); Caching.PurgeCacheItems("Newest_RecipesSideMenu_"); myBL.AdminApproveRecipe(ID); //Release allocated memory. myBL = null; //If success, redirect to recipe approval confirmation page. Util.PageRedirect(8); Util = null; }