完成用户模块/用户角色分配

This commit is contained in:
yubaolee
2015-11-30 00:12:42 +08:00
parent fda4186350
commit 92ead80909
19 changed files with 297 additions and 68 deletions

View 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);
}
}

View File

@@ -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" />