Пример #1
0
        public async Task <ActionResult <int> > GetSeatsPerSchedule(int id)
        {
            if (await scheduleLogic.FindByIdAsync(id) == null)
            {
                return(NotFound());
            }

            return(Ok(await scheduleLogic.GetSeats(id)));
        }