Beispiel #1
0
 public void Put(long id, [FromBody] Reservation reservation)
 //implementatie REST protocol voor met de JSON code langs front-end overweg te kunnen [FromBody]
 //Het [FromBody] attribuut zal gebruikt worden om het content type te bepalen
 {
     reservation.ReservationId = id;
     reservationBll.UpdateReservation(id, reservation);
 }
Beispiel #2
0
 public void Put(long id, [FromBody] Reservation reservation)
 {
     reservation.ReservationId = id;
     reservationBll.UpdateReservation(id, reservation);
     //reservationProcessor.Update(reservation);
 }