mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
17 lines
427 B
Plaintext
17 lines
427 B
Plaintext
![]() |
using System.Web.Mvc;
|
||
|
using Orchard.Localization;
|
||
|
using Orchard;
|
||
|
|
||
|
namespace $$ModuleName$$.Controllers {
|
||
|
public class $$ControllerName$$ : Controller {
|
||
|
public IOrchardServices Services { get; set; }
|
||
|
|
||
|
public $$ControllerName$$(IOrchardServices services) {
|
||
|
Services = services;
|
||
|
T = NullLocalizer.Instance;
|
||
|
}
|
||
|
|
||
|
public Localizer T { get; set; }
|
||
|
}
|
||
|
}
|