async fn create_and_upload_exercise(
    conn: &mut PgConnection,
    repository: Uuid,
    exercise_id: Uuid,
    exercise: &NewExercise,
    file_store: &dyn FileStore,
    app_conf: &ApplicationConfiguration
) -> Result<PathBuf>