Ejemplo n.º 1
0
 public StartStopViewModel(IUserStateService userStateService)
 {
     WorkCommand = new DelegateCommand(_ =>
                                       userStateService.StartWorkAsync());
     RestCommand = new DelegateCommand(_ => userStateService.StopWorkAsync());
 }