Subtext.Framework.Components.FeedbackItem.Update C# (CSharp) Method

Update() public static method

Updates the specified entry in the data provider.
public static Update ( FeedbackItem feedbackItem ) : bool
feedbackItem FeedbackItem Entry.
return bool
        public static bool Update(FeedbackItem feedbackItem)
        {
            if (feedbackItem == null)
                throw new ArgumentNullException("feedbackItem", "Cannot update a null feedback");

            feedbackItem.DateModified = Config.CurrentBlog.TimeZone.Now;
            return ObjectProvider.Instance().Update(feedbackItem);
        }