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

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

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