Example #1
0
 private void OnDeleteCommandExecute()
 {
     if (IsCptError)
     {
         // ProviderId can be empty for old statuses, user needs to refresh the list
         if (!string.IsNullOrEmpty(ProviderId))
         {
             _appService.DeleteClaimStatus(ProviderId, ChewsiId, Date);
         }
     }
     else
     {
         _appService.DeleteAppointment(Id);
     }
 }