private async Task RateAsync(int rating) { try { BookingViewModel.Booking.Rating = rating; await BookingViewModel.RateAsync(); RatingButtonVisibility(); } catch (Exception ex) { await new MessageDialog(ex.Message).ShowAsync(); } }
private async Task RateAsync(int rating) { try { BookingViewModel.Booking.Rating = rating; await BookingViewModel.RateAsync(); RatingButtonVisibility(); } catch (Exception ex) { await new MessageDialog(ex.Message).ShowAsync(); } }