public function delete(ScheduleInterface $schedule)
    {
        $this->objectManager->remove($schedule);
        $this->objectManager->flush();
    }
public function delete(ScheduleInterface $schedule)
    {
        $this->objectManager->remove($schedule);
        $this->objectManager->flush();
    }
{@inheritDoc}