public async Task <ActionResult> Post([FromBody] BookingStart booking) { var bookingId = await bookings.CreateAsync(booking); return(CreatedAtAction(nameof(Get), new { id = bookingId }, new { id = bookingId })); }
public async Task <ActionResult> Post([FromBody] BookingStart booking) { var bookingId = await bookings.CreateAsync(booking); return(CreatedAtAction(nameof(Get), new { id = bookingId }, new { id = bookingId })); }