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 value

KrzysztofPajakfe5e57b2b21a
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/EditorTemplates/MultiPicture.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/EditorTemplates/MultiPicture.cshtml
index eb7d30f3a..6c233d301 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/EditorTemplates/MultiPicture.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/EditorTemplates/MultiPicture.cshtml
@@ -1,9 +1,7 @@
@model string
-@inject Grand.Business.Storage.Interfaces.IPictureService pictureService
@{
var random = CommonHelper.GenerateRandomInteger();
var clientId = "multipicture" + random;
- var picture = await pictureService.GetPictureById(Model);
var reference = ViewData["Reference"];
var objectId = ViewData["ObjectId"];