From 6b4f683df89252ed3b964612957b0fac5eb13678 Mon Sep 17 00:00:00 2001 From: Jonathan Channon Date: Sat, 18 May 2024 19:03:55 +0100 Subject: [PATCH] Make BindFile(s) public (#347) --- src/Carter/ModelBinding/BindExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Carter/ModelBinding/BindExtensions.cs b/src/Carter/ModelBinding/BindExtensions.cs index d7ed410..54b6590 100644 --- a/src/Carter/ModelBinding/BindExtensions.cs +++ b/src/Carter/ModelBinding/BindExtensions.cs @@ -41,7 +41,7 @@ private static async Task> BindFiles(this HttpRequest req /// /// Current /// - private static Task> BindFiles(this HttpRequest request) + public static Task> BindFiles(this HttpRequest request) { return request.BindFiles(returnOnFirst: false); } @@ -51,7 +51,7 @@ private static Task> BindFiles(this HttpRequest request) /// /// Current /// - private static async Task BindFile(this HttpRequest request) + public static async Task BindFile(this HttpRequest request) { var files = await request.BindFiles(returnOnFirst: true);