using AsbCloudApp.Data; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IPermissionService { Task> GetByIdRoleAsync(int idRole, CancellationToken token); Task InsertRangeAsync(IEnumerable dtos, CancellationToken token); Task UpdateAsync(PermissionDto dto, CancellationToken token); Task DeleteAsync(int idUserRole, int idPermission, CancellationToken token); Task DeleteAllByRoleAsync(int idUserRole, CancellationToken token); } }