mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 18:47:55 +08:00
优化代码结构,完成分类处理
This commit is contained in:
@@ -11,8 +11,8 @@ namespace OpenAuth.Mvc.Controllers
|
||||
private ModuleManagerApp _app;
|
||||
|
||||
public HomeController()
|
||||
{
|
||||
_app = (ModuleManagerApp)DependencyResolver.Current.GetService(typeof(ModuleManagerApp));
|
||||
{
|
||||
_app = AutofacExt.GetFromFac<ModuleManagerApp>();
|
||||
}
|
||||
|
||||
public string GetModules(int parentId = 0)
|
||||
|
Reference in New Issue
Block a user