Esempio n. 1
0
        public ActionResult <IEnumerable <CinemaResponse> > GetAllCinema(int CityId = 0)
        {
            List <CinemaResponse> cinemaResponses = cinemaServices.GetAllCinema(CityId);

            if (cinemaResponses == null)
            {
                return(NotFound());
            }

            return(cinemaResponses);
        }
Esempio n. 2
0
 public IEnumerable <CinemaDto> Get()
 {
     return(_cinemaService.GetAllCinema());
 }