public void SaveAnnouncement(AnnouncementDto value)
        {
            var announcementsList = SPContext.Current.Site.RootWeb.Lists["Announcements"];

            SPItem announcement = announcementsList.AddItem();
            announcement["Title"] = value.Title;
            announcement["Body"] = value.Body;
            announcement["Expires"] = value.Expires;
            announcement.Update();
        }
 public void SaveAnnouncement(AnnouncementDto value)
 {
     SavedDto = value;
 }
 public void SaveAnnouncement(AnnouncementDto value)
 {
     announcements.Add(value);
 }