mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 02:29:24 +08:00
完成直接为用户分配模块
This commit is contained in:
14
OpenAuth.Domain/Interface/IUserModuleRepository.cs
Normal file
14
OpenAuth.Domain/Interface/IUserModuleRepository.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 IUserModuleRepository : IRepository<UserModule>
|
||||
{
|
||||
void DeleteByUser(params int[] userIds);
|
||||
void AddUserModule(int userId, params int[] moduleIds);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user