예제 #1
0
 private bool CanExecuteFindPeliCommand()
 {
     try
     {
         bool ret = false;
         ret = (ret || (Peliculas != null && Peliculas.Any(p => p.IsSelectedItem)));
         ret = (ret || (Cinemas != null && Cinemas.Any(p => p.IsSelectedItem)));
         ret = (ret || (SessionTypes != null && SessionTypes.Any(p => p.IsSelectedItem)));
         return(true);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }