//Get cooking article user rating private void GetUserCookingArticleRating() { //Instantiate user article cookie rating object CookieRating GetCookie = new CookieRating(constant.intArticle, Article.ID, PlaceHolder2); //Get the user rating cookie GetCookie.GetUserCookieRating(); //Release allocated memory GetCookie = null; }
//Get recipe user cookie rating private void GetUserRecipeCookieRating() { //Instantiate user cookie rating object CookieRating GetCookie = new CookieRating(constant.intRecipe, Recipe.ID, PlaceHolder1); //Get the user rating cookie GetCookie.GetUserCookieRating(); //Release allocated memory GetCookie = null; }