public void Add(Object anObject) { Activity toAdd = anObject as Activity; ActivityAccess context = new ActivityAccess(); context.Add(toAdd); }
private void AddActivityToBd(Activity anActivity) { ActivityAccess context = new ActivityAccess(); context.Add(anActivity); }
private void AddActivityToBD(Activity aActivity) { ActivityAccess logic = new ActivityAccess(); logic.Add(aActivity); }