public RegistrationInformation RegistrationInformation
{
get
{
return new RegistrationInformation()
{
FirstName = textFirstName.Text;
LastName = textLastName.Text;
Email = textEmail.Text;
SelectedEvent = dropDownListEvent.SelectedValue;
};
}
}
{
get
{
return new RegistrationInformation()
{
FirstName = textFirstName.Text;
LastName = textLastName.Text;
Email = textEmail.Text;
SelectedEvent = dropDownListEvent.SelectedValue;
};
}
}
public RegistrationInformation RegistrationInformation
{
get
{
return new RegistrationInformation()
{
FirstName = textFirstName.Text,
LastName = textLastName.Text,
Email = textEmail.Text,
SelectedEvent = dropDownListEvent.SelectedValue
};
}
}