예제 #1
0
 public ActionResult <IEnumerable <SeatDto> > GetSeats()
 {
     return(_service.GetSeats()
            .Select(seat => (SeatDto)seat)
            .ToList());
 }