Exemple #1
0
        public async Task <ActionResult <IEnumerable <SeatDTO> > > GetOccupiedSeats(Guid theMovieRoomID)
        {
            var seats = await movieRoomRepo.GetOccupiedSeats(theMovieRoomID);

            Debug.Write(seats);
            var seatsDTO = mapper.Map <IEnumerable <SeatDTO> >(seats);

            return(Ok(seatsDTO));
        }