Example #1
0
 public void InsertActivity(string Name, string Location, DateTime Dt, string Description)
 {
     try
     {
         activity_db.InsertActivity(Name, Location, Dt, Description);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
 public void InsertActivity(int id, string description)
 {
     // insert an activity by calling function from DAL layer
     dao.InsertActivity(id, description);
 }