2010-09-30 07:15:41 +08:00
|
|
|
|
using System.Web.Mvc;
|
2010-09-01 09:30:12 +08:00
|
|
|
|
using Orchard.DisplayManagement.Descriptors;
|
|
|
|
|
using Orchard.Themes;
|
|
|
|
|
using Orchard.UI.Admin;
|
|
|
|
|
|
2010-09-30 07:15:41 +08:00
|
|
|
|
namespace Orchard.Experimental.Controllers {
|
2010-09-01 09:30:12 +08:00
|
|
|
|
[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));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|