Exemple #1
0
        private void dismiss_Click(object sender, System.EventArgs e)
        {
            var response = _accountManagementService.CancelReservation(_reservationId);

            if (!string.IsNullOrEmpty(response.ErrorMesssage))
            {
                MessageBoxHelper.ShowMessageBox(response.ErrorMesssage);
            }
            else
            {
                MessageBoxHelper.ShowMessageBox(ResourceHelper.ResourceKey.ReservationCanceledSuccessfully, true);
                this.Close();
            }
        }