private bool CanDeleteConsumption(Consumption p) { return(SelectedConsumptions.Contains(p)); }
private void DeleteConsumption(Consumption result) { SelectedConsumptions.Remove(result); SelectedConsumption = new Consumption(); }