Exemplo n.º 1
0
        /*Adds a new conference in the data base.
         * Returns Exception if dates are not in chronological order*/
        public void AddConference(string name, string edition, List <string> topics, DateTime deadlineAbstract,
                                  DateTime deadlineComplet, DateTime deadlineBidding, DateTime deadlineEvaluation, DateTime deadlineParticipation,
                                  string city, string country, string website, double admissionPrice, DateTime beginDate, DateTime endDate)
        {
            Conference conference = new Conference(-1, name, edition, topics, deadlineAbstract, deadlineComplet, deadlineBidding, deadlineEvaluation, deadlineParticipation,
                                                   city, country, website, admissionPrice, beginDate, endDate);

            server.AddConference(conference);
        }
Exemplo n.º 2
0
 public void AddConference(Conference conference)
 {
     server.AddConference(conference);
 }