Exemplo n.º 1
0
        private async Task RateAsync(int rating)
        {
            try
            {
                BookingViewModel.Booking.Rating = rating;
                await BookingViewModel.RateAsync();

                RatingButtonVisibility();
            }
            catch (Exception ex)
            {
                await new MessageDialog(ex.Message).ShowAsync();
            }
        }