public List <Activity> GetActivities() { try { List <Activity> activities = activity_db.Get_Activities(); return(activities); } catch (Exception ex) { //throw new Exception("Someren couldn't connect to the database"); return(new List <Activity>()); } }