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