mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 01:58:01 +08:00
完成用户模块/用户角色分配
This commit is contained in:
14
OpenAuth.Domain/Interface/IUserRoleRepository.cs
Normal file
14
OpenAuth.Domain/Interface/IUserRoleRepository.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OpenAuth.Domain.Interface
|
||||
{
|
||||
public interface IUserRoleRepository : IRepository<UserRole>
|
||||
{
|
||||
void DeleteByUser(params int[] userIds);
|
||||
void AddUserRole(int userId, params int[] roleIds);
|
||||
}
|
||||
}
|
@@ -46,6 +46,7 @@
|
||||
<Compile Include="Interface\IOrgRepository.cs" />
|
||||
<Compile Include="Interface\IRepository.cs" />
|
||||
<Compile Include="Interface\IRoleRepository.cs" />
|
||||
<Compile Include="Interface\IUserRoleRepository.cs" />
|
||||
<Compile Include="Interface\IUserModuleRepository.cs" />
|
||||
<Compile Include="Interface\IUserRepository.cs" />
|
||||
<Compile Include="Module.cs" />
|
||||
|
Reference in New Issue
Block a user