Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Remove unused method

KrzysztofPajak4b1ed724d9ac
diff --git a/src/Web/Grand.Web.Common/Extensions/StorageExtensions.cs b/src/Web/Grand.Web.Common/Extensions/StorageExtensions.cs
index a38723285..38dc130bb 100644
--- a/src/Web/Grand.Web.Common/Extensions/StorageExtensions.cs
+++ b/src/Web/Grand.Web.Common/Extensions/StorageExtensions.cs
@@ -20,14 +20,4 @@ public static class Extensions
var fileBytes = ms.ToArray();
return fileBytes;
}
-
- /// <summary>
- /// Gets the picture binary array
- /// </summary>
- /// <param name="file">File</param>
- /// <returns>Picture binary array</returns>
- public static byte[] GetPictureBits(this IFormFile file)
- {
- return GetDownloadBits(file);
- }
}
\ No newline at end of file