add chat and users
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace GreenHome.Application;
|
||||
|
||||
public interface IDeviceMemberService
|
||||
{
|
||||
Task<IReadOnlyList<DeviceMemberDto>> ListByDeviceAsync(int deviceId, CancellationToken cancellationToken);
|
||||
Task<DeviceMemberDto> UpsertAsync(UpsertDeviceMemberRequest request, CancellationToken cancellationToken);
|
||||
Task DeleteAsync(int deviceId, int userId, CancellationToken cancellationToken);
|
||||
Task<bool> CanManageDeviceAsync(int actorUserId, int deviceId, CancellationToken cancellationToken);
|
||||
}
|
||||
Reference in New Issue
Block a user