Пример #1
0
 private async Task ExecuteDeleteItemCommand(IAimTimerListItemViewModel aimTimerListItemViewModel)
 {
     if (await _alertManager.DisplayAlert("Warning!", "Would you like to remove the timer completely?", "Yes", "No"))
     {
         _aimTimerService.DeleteAimTimer(aimTimerListItemViewModel.GetAimTimerItem().AimTimer);
         AimTimerListItemViewModels.Remove(aimTimerListItemViewModel);
     }
 }