Exemplo n.º 1
0
        //Get content found in the Call for Participation section of the website
        public ParticipationQuery getParticipation()
        {
            try
            {
                ParticipationQuery participation = new ParticipationQuery();
                participation.participationParagraph1 = this.getInterfaceElement("participationParagraph1").content;

                return participation;
            }
            catch (Exception ex)
            {
                Console.Write("WebManager.getParticipation error " + ex);
                return null;
            }
        }
Exemplo n.º 2
0
 //Update content of the Call for Participation section of the website
 public bool saveParticipation(ParticipationQuery newParticipation)
 {
     try
     {
         using (conferenceadminContext context = new conferenceadminContext())
         {
             this.saveInterfaceElement("participationParagraph1", newParticipation.participationParagraph1);
             return true;
         }
     }
     catch (Exception ex)
     {
         Console.Write("WebManger.saveParticipation error " + ex);
         return false;
     }
 }