Example #1
0
        public void GetAll()
        {
            var passage = new Passage(Passage.DirectionType.IN);
            var x       = CatFlapData.GetAll();

            //CatFlap.Models.Flap.test();

            foreach (var item in x)
            {
                Trace.WriteLine(item.ID);
                Trace.WriteLine(item.Direction);
            }
        }
Example #2
0
 /// <summary>
 /// Get all log entries
 /// </summary>
 /// <returns></returns>
 public List <Passage> Get()
 {
     Log("Reading log 2");
     return(CatFlapData.GetAll().ToList());
 }