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); } }
/// <summary> /// Get all log entries /// </summary> /// <returns></returns> public List <Passage> Get() { Log("Reading log 2"); return(CatFlapData.GetAll().ToList()); }