Example #1
0
 private bool EditPosterCommandCanExecute()
 {
     return(PetImages.Any() &&
            !string.IsNullOrEmpty(Poster.PetName) &&
            Poster.PetType > 0 &&
            !string.IsNullOrEmpty(Poster.State) &&
            !string.IsNullOrEmpty(Poster.City));
 }
 private bool CreatePosterCommandCanExecute()
 {
     return(PetImages.Any() &&
            !string.IsNullOrEmpty(PetName) &&
            !string.IsNullOrEmpty(PetType) &&
            !string.IsNullOrEmpty(State) &&
            !string.IsNullOrEmpty(City));
 }