public void EditActivity(Activity a)
 {
     try
     {
         activity_db.Db_Edit(a);
     }
     catch (Exception e)
     {
         // Todo: Improve error logic.
         throw new Exception("Someren couldn't connect to the database " + e);
     }
 }
示例#2
0
 public void EditActivity(Activity activities)
 {
     activity_db.Db_Edit(activities);
 }