完成直接为用户分配模块

This commit is contained in:
yubaolee
2015-11-26 23:09:25 +08:00
parent e259fdd34c
commit fc7c568b3a
9 changed files with 109 additions and 5 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 IUserModuleRepository : IRepository<UserModule>
{
void DeleteByUser(params int[] userIds);
void AddUserModule(int userId, params int[] moduleIds);
}
}