完成所有主列表JS模块化

This commit is contained in:
yubaolee
2016-04-16 23:25:00 +08:00
parent 25bb5bf07c
commit 2f0a9a3719
27 changed files with 1426 additions and 1400 deletions

View File

@@ -87,5 +87,22 @@ namespace OpenAuth.UnitTest
Console.WriteLine(user.Name + " \t用户ID" + user.Id);
return user;
}
[TestMethod]
public void TestEditExist()
{
var user = new UserView
{
Id = 1,
Account = "admin",
Name = "管理员",
OrganizationIds = "1,2",
Organizations = "集团总部,研发部",
Status = 1
};
_app.AddOrUpdate(user);
Console.WriteLine(user.Name + " \t用户ID" + user.Id);
}
}
}