'Deletes all episodes of a show'

@api.response(200, u'Successfully    forgotten    all    episodes    from    show', model=base_message_schema)
@api.doc(description=u'Delete    all    show    episodes    via    its    ID.    Deleting    an    episode    will    mark    it    as    wanted    again', parser=delete_parser)
def delete(self, show_id, session):

    try:
        show = series.show_by_id(show_id, session=session)
    except NoResultFound:
        raise NotFoundError((u'show    with    ID    %s    not    found' % show_id))
    args = delete_parser.parse_args()
    forget = args.get(u'forget')
    for episode in show.episodes:
        series.remove_series_entity(show.name, episode.identifier, forget)
    return success_response((u'successfully    removed    all    series    %s    episodes    from    DB' % show_id))
