Routine Update

This commit is contained in:
yubaolee
2015-11-19 22:47:56 +08:00
parent 119948ccb7
commit 4c0c7975c0
7 changed files with 50 additions and 50 deletions

View File

@@ -30,11 +30,11 @@ namespace OpenAuth.Mvc.Controllers
//添加或修改组织
[HttpPost]
public string Add(Role view)
public string Add(Role role)
{
try
{
_app.AddOrUpdate(view);
_app.AddOrUpdate(role);
}
catch (Exception ex)