mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-08 10:24:44 +08:00
修改界面,重构授权代码
This commit is contained in:
@@ -14,10 +14,10 @@ namespace OpenAuth.UnitTest
|
||||
[TestMethod]
|
||||
public void TestMethod1()
|
||||
{
|
||||
AuthoriseService _service = new AuthoriseService(new UnitWork() );
|
||||
_service.LoadAuthControls("System");
|
||||
AuthoriseFactory factory = new AuthoriseFactory(new UnitWork() );
|
||||
var service= factory.Create("System");
|
||||
|
||||
var orgs = _service.Orgs;
|
||||
var orgs = service.Orgs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user