public void RemoveActivity(Activity a)
 {
     try
     {
         activity_db.Db_Remove(a);
     }
     catch (Exception e)
     {
         // Todo: Improve error logic.
         throw new Exception("Someren couldn't connect to the database " + e);
     }
 }
Exemple #2
0
 public void RemoveActivity(int Id)
 {
     activity_db.Db_Remove(Id);
 }