Esempio n. 1
0
        public async Task <ActionResult <IEnumerable <Schedule> > > GetScheduleByDate(DateTime date)
        {
            var schedules = await scheduleLogic.FindAllSchedulesByDate(date);

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

            return(Ok(schedules));
        }