Ejemplo n.º 1
0
        private Guest PopulateObject()
        {
            guest           = new Guest();
            guest.GuestID   = guestController.GenerateGuestID();
            guest.FirstName = FirstNameTextBox.Text;
            guest.Surname   = LastNameTextBox.Text;

            guest.TelephoneNumber = TelephoneTextBox.Text;
            guest.EmailAddress    = EmailTextBox.Text;



            return(guest);
        }