添加接口实现接口

This commit is contained in:
lzw
2021-10-12 22:19:53 +08:00
parent d159cce849
commit 17f632298f
5 changed files with 50 additions and 0 deletions

View File

@@ -15,6 +15,16 @@ namespace Yi.Framework.Service
{
}
public async Task<bool> AddRole(role _role)
{
var role_data = await GetEntityById(_role.id);
if(role_data==null)
{
return false;
}
return await AddAsync(_role);
}
public async Task<bool> DelListByUpdateAsync(List<int> _ids)
{
var userList = await GetEntitiesAsync(u=>_ids.Contains(u.id));