示例#1
0
 public IActionResult Insert([FromBody] Reservation reservation)
 {
     return(Ok(db.CreateReservation(reservation.Id, reservation.ScreeningId, reservation.EmployeeReservedId, reservation.ReservationTypeId, reservation.ReservationContactName, Convert.ToBoolean(reservation.Reserved), reservation.EmployeePaidId, Convert.ToBoolean(reservation.Paid), Convert.ToBoolean(reservation.Active))));
 }