public void AddActivity(Activity a)
 {
     try
     {
         activity_db.Db_Insert(a);
     }
     catch (Exception e)
     {
         // Todo: Improve error logic.
         throw new Exception("Someren couldn't connect to the database " + e);
     }
 }
Ejemplo n.º 2
0
 public void AddActivity(Activity activities)
 {
     activity_db.Db_Insert(activities);
 }