using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using AsbCloudApp.Data; namespace AsbCloudApp.Services { public interface IUserRoleService { Task> GetAllAsync(CancellationToken token); Task GetAsync(int id, CancellationToken token); Task InsertAsync(UserRoleDto dto, CancellationToken token = default); Task UpdateAsync(UserRoleDto dto, CancellationToken token = default); Task DeleteAsync(IEnumerable ids, CancellationToken token); } }