ying-hui.the@windev.co.uk (47) [Avatar] Offline
#1
async Task IncrementCounter()
{
await service.IncrementCounter(counter);
RaisePropertyChanged(() => Count);
}

the compiler does not know of counter and Count.

Whats my deliberate mistake?
Jim Bennett (83) [Avatar] Offline
#2
What class are you adding these changes to - they should go into CounterViewModel which has that field and property.
ying-hui.the@windev.co.uk (47) [Avatar] Offline
#3
I put it in CountersViewModel.

But just put it in CounterViewModel , and makes not much difference.

Where is the code associated for the book?
ying-hui.the@windev.co.uk (47) [Avatar] Offline
#4
better now. Ta