pub(crate) async fn delete(conn: &mut PgConnection, id: Uuid) -> ModelResult<()>Expand description
Deletes the module without recording history. Errors with InvalidRequest if chapters still
belong to it.
pub(crate) async fn delete(conn: &mut PgConnection, id: Uuid) -> ModelResult<()>Deletes the module without recording history. Errors with InvalidRequest if chapters still
belong to it.