Esempio n. 1
0
        public bool Exists(Object anObject)
        {
            Activity       lookUp  = anObject as Activity;
            ActivityAccess context = new ActivityAccess();

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

            return(context.GetAll());
        }