public void GetAll() { SpendedThermostats.Clear(); foreach (var item in context.GetAll()) { SpendedThermostats.Add(item); } }
public void GetFiltredList() { SpendedThermostats.Clear(); foreach (var item in context.GetFiltredList(BarcodeNumber)) { SpendedThermostats.Add(item); } }