Exemplo n.º 1
0
        public async Task <ActionResult <int> > GetReservedPerSchedule(int id)
        {
            if (await scheduleLogic.FindByIdAsync(id) == null)
            {
                return(NotFound());
            }

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