Beispiel #1
0
        //Get content found in the Committee section of the website
        public CommitteeQuery getCommittee()
        {
            try
            {
                var committee = new CommitteeQuery();

                committee.committee = this.getInterfaceElement("committee").content;

                return committee;
            }
            catch (Exception ex)
            {
                Console.Write("WebManager.getCommittee error " + ex);
                return null;
            }
        }
Beispiel #2
0
 //Update content found in the Committee section of the website
 public bool saveCommittee(CommitteeQuery info)
 {
     try
     {
         using (conferenceadminContext context = new conferenceadminContext())
         {
             this.saveInterfaceElement("committee", info.committee);
             return true;
         }
     }
     catch (Exception ex)
     {
         Console.Write("WebManger.saveCommittee error " + ex);
         return false;
     }
 }