public function destroy(Schedule $schedule)
    {
        try {
            execute(new DeleteScheduleCommand($schedule));
        } catch (QueryException $e) {
            throw new BadRequestHttpException();
        }

        return $this->noContent();
    }