示例#1
0
        private void btnAddAttendee_Click(object sender, EventArgs e)
        {
            // Pass the current seminar as reference to RegisterAttendee screen
            // This is so that the changes can automatically be reflected back
            var intermediary    = this.seminar;
            RegisterAttendee ra = new RegisterAttendee(ref intermediary);

            ra.Show();
        }
 public async Task <HttpResponseMessage> RegisterAttendeeAsync([FromBody] RegisterAttendee command)
 {
     return(await ProcessRequestAsync(command));
 }