Exemple #1
0
 private void reserveMediaBtn_Click(object sender, EventArgs e)
 {
     reservationLogic.InsertNewReservation(
         int.Parse(userIdResTxtBox.Text),
         int.Parse(mediaIdRestxtBox.Text),
         reservationDateTimePicker.Value.ToString("yyyy-MM-dd")
         );
     RefreshReservedList();
 }