public IActionResult SaveReservation([FromBody] Reservation reservation) { _transactionLogic.SaveReservation(reservation); return(new JsonResult(new { message = $"Created a reservation for {reservation.Seats.Length} seat(s) with the e-mail address {reservation.MailAddress}!", url = Url.Action("Index", "Transaction", reservation.AiringMovie) })); }