public AspnetUsersInRole GetAspnetUsersInRole(AspnetRole role, AspnetUser user) { UserRoleIdentifier id = new UserRoleIdentifier(); id.RoleId = role.RoleId; id.UserId = user.UserId; return _aspnetUsersInRoleDao.GetById(id); }
public AspnetUsersInRole GetById(UserRoleIdentifier Id) { return CurrentSession.Get<AspnetUsersInRole>(Id); }