Example #1
0
        public bool Update(int guestbookID, bool display)
        {
            Guestbook guestbook = Get(guestbookID);

            using (SprocWrapper db = new SprocWrapper())
            {
                return(db.Guestbook_Update(guestbookID, guestbook.Name, guestbook.Email, guestbook.Comment, guestbook.Reply, display));
            }
        }