public int AddNewActivity(string Description, DateTime StartTime, int NumberofStudents, int NumberofLecturers)
 {
     try
     {
         return(activiteit_db.AddActivity(Description, StartTime, NumberofStudents, NumberofLecturers));
     }
     catch (Exception)
     {
         int unaltered = 0;
         return(unaltered);
     }
 }
Exemple #2
0
 public bool AddActivity(Activity activity)
 {
     activityDao.AddActivity(activity);
     return(true);
 }
Exemple #3
0
 public void AddActivity(int Id, string Omschrijving, int AantalStudenten, int AantalBegeleiders)
 {
     activity_db.AddActivity(Id, Omschrijving, AantalStudenten, AantalBegeleiders);
 }
Exemple #4
0
 public void AddActivity(Activity activity)
 {
     activity_dao.AddActivity(activity);
 }