예제 #1
0
 public Task <ApiResponse <IEnumerable <SeatReservationDto> > > Get(int eventId)
 {
     return(Respond
            .AsyncWithMany <SeatReservationDto>(async(response, fail) =>
     {
         response.Result = await _reservationsProvider.GetEventSeatReservationsAsync(eventId);
     }));
 }