OpenAuth.Net/OpenAuth.Domain/Interface/IUserRoleRepository.cs

15 lines
360 B
C#
Raw Normal View History

2015-11-30 00:12:42 +08:00
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);
}
}