using AsbCloudApp.Data; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IUserRoleService : ICrudService { Task GetByNameAsync(string name, CancellationToken token = default); Task> GetByNamesAsync(IEnumerable names, CancellationToken token = default); IEnumerable GetNestedById(int id, int counter = 10); bool HasPermission(IEnumerable rolesIds, string permissionName); } }