forked from ddrilling/AsbCloudServer
17 lines
583 B
C#
17 lines
583 B
C#
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using AsbCloudApp.Data;
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
public interface IUserRoleService
|
|
{
|
|
Task<IEnumerable<UserRoleDto>> GetAllAsync(CancellationToken token);
|
|
Task<UserRoleDto> GetAsync(int id, CancellationToken token);
|
|
Task<int> InsertAsync(UserRoleDto dto, CancellationToken token = default);
|
|
Task UpdateAsync(UserRoleDto dto, CancellationToken token = default);
|
|
Task<int> DeleteAsync(IEnumerable<int> ids, CancellationToken token);
|
|
}
|
|
} |