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);
     }
 }
Пример #2
0
 public bool AddActivity(Activity activity)
 {
     activityDao.AddActivity(activity);
     return(true);
 }
Пример #3
0
 public void AddActivity(int Id, string Omschrijving, int AantalStudenten, int AantalBegeleiders)
 {
     activity_db.AddActivity(Id, Omschrijving, AantalStudenten, AantalBegeleiders);
 }
Пример #4
0
 public void AddActivity(Activity activity)
 {
     activity_dao.AddActivity(activity);
 }