예제 #1
0
 public Task <ApiResponse <SeatReservationDto> > Post(string eventId, string clientId, string orderId, [FromBody] string sceneSeatId)
 {
     return(Respond
            .AsyncWith <SeatReservationDto>(async(response, fail) =>
     {
         response.Result = await _reservationsService.ReserveSeatAsync(eventId, clientId, orderId, sceneSeatId);
     }));
 }