Exemple #1
0
        public async Task <ActionResult <IEnumerable <SeatDomainModel> > > GetAllSeatsForSpecificProjection(Guid projectionId)
        {
            IEnumerable <SeatDomainModel> seatDomainModels;


            seatDomainModels = await _seatService.GetAllSeatsForProjection(projectionId);

            if (seatDomainModels == null)
            {
                seatDomainModels = new List <SeatDomainModel>();
            }

            return(Ok(seatDomainModels));
        }