pub async fn delete(
    conn: &mut PgConnection,
    repository_id: Uuid,
    file_store: &dyn FileStore
) -> Result<()>
Expand description

Marks the exercises and repository as deleted and removes the associated files from the file store. Only returns the last error if there are multiple errors when trying to remove the files.