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); } }
public bool AddActivity(Activity activity) { activityDao.AddActivity(activity); return(true); }
public void AddActivity(int Id, string Omschrijving, int AantalStudenten, int AantalBegeleiders) { activity_db.AddActivity(Id, Omschrijving, AantalStudenten, AantalBegeleiders); }
public void AddActivity(Activity activity) { activity_dao.AddActivity(activity); }