Beispiel #1
0
        public bool Exists(Object anObject)
        {
            Activity       lookUp  = anObject as Activity;
            ActivityAccess context = new ActivityAccess();

            return(context.GetAll().Contains(lookUp));
        }
Beispiel #2
0
        public List <Activity> GetAllActivities()
        {
            ActivityAccess context = new ActivityAccess();

            return(context.GetAll());
        }