private void reserve_Click(object sender, EventArgs e) { var reservation = MapFromForm(); if (reservation.Errors.Any()) { MessageBoxHelper.ShowMessageBox(reservation.Errors.First().ErrorMesssage); } else { var response = _accountManagementService.CreateReservation(reservation); if (!string.IsNullOrEmpty(response.ErrorMesssage)) { MessageBoxHelper.ShowMessageBox(response.ErrorMesssage); } else { MessageBoxHelper.ShowMessageBox(ResourceHelper.ResourceKey.ReservationSentSuccessfully, true); } } }