예제 #1
0
        public void GetAll()
        {
            SpendedThermostats.Clear();

            foreach (var item in context.GetAll())
            {
                SpendedThermostats.Add(item);
            }
        }
예제 #2
0
        public void GetFiltredList()
        {
            SpendedThermostats.Clear();

            foreach (var item in context.GetFiltredList(BarcodeNumber))
            {
                SpendedThermostats.Add(item);
            }
        }