using System.Collections.Generic;
using System.Threading.Tasks;

namespace Dilon.Core.Service
{
    public interface ISysUserRoleService
    {
        Task DeleteUserRoleListByRoleId(long roleId);
        Task DeleteUserRoleListByUserId(long userId);
        Task<List<long>> GetUserRoleDataScopeIdList(long userId, long orgId);
        Task<List<long>> GetUserRoleIdList(long userId);
        Task GrantRole(UpdateUserInput input);
    }
}