private void View_OnBookingsUpdateItem(object sender, BookingsManagementEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException(nameof(BookingsManagementEventArgs));
            }

            var booking = this.bookingsServices.GetBooking(e.Id);

            if (booking == null)
            {
                this.View.ModelState.AddModelError(
                    ErrorMessages.MODEL_ERROR_KEY,
                    string.Format(ErrorMessages.MODEL_ERROR_MESSAGE, e.Id));

                return;
            }

            this.View.TryUpdateModel(booking);

            if (this.View.ModelState.IsValid)
            {
                this.bookingsServices.UpdateBooking(e.Id, booking);
            }
        }
        private void View_OnBookingsDeleteItem(object sender, BookingsManagementEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException(nameof(BookingsManagementEventArgs));
            }

            this.bookingsServices.DeleteBooking(e.Id);
        }