mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-10 11:24:45 +08:00
delete workflow
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Linq;
|
||||
using System.Web.Mvc;
|
||||
using Infrastructure;
|
||||
using OpenAuth.App.ViewModel;
|
||||
using OpenAuth.Domain;
|
||||
@@ -28,10 +29,10 @@ namespace OpenAuth.App
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public void Del(string code)
|
||||
[HttpPost]
|
||||
public void Del(string[] codes)
|
||||
{
|
||||
_repository.Delete(u =>u.Code == code);
|
||||
_repository.Delete(u =>codes.Contains(u.Code));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user