mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-19 11:47:29 +08:00
23 lines
700 B
C#
23 lines
700 B
C#
![]() |
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Web;
|
|||
|
using System.Web.Mvc;
|
|||
|
using Orchard.DisplayManagement.Descriptors;
|
|||
|
using Orchard.Themes;
|
|||
|
using Orchard.UI.Admin;
|
|||
|
|
|||
|
namespace Orchard.DevTools.Controllers {
|
|||
|
[Themed, Admin]
|
|||
|
public class InventoryController : Controller {
|
|||
|
private readonly IShapeTableManager _shapeTableManager;
|
|||
|
|
|||
|
public InventoryController(IShapeTableManager shapeTableManager) {
|
|||
|
_shapeTableManager = shapeTableManager;
|
|||
|
}
|
|||
|
|
|||
|
public ActionResult ShapeTable(string themeName) {
|
|||
|
return View("ShapeTable", _shapeTableManager.GetShapeTable(themeName));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|