mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
Routine Update
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user