mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-03-26 19:23:24 +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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user