完成设备删除单元测试

This commit is contained in:
2025-07-24 18:09:46 +08:00
parent ac38128e4d
commit 7b9c91eee1
18 changed files with 119 additions and 29 deletions

View File

@@ -35,6 +35,11 @@ public interface IDeviceAppService
/// 异步删除一个设备。
/// </summary>
Task DeleteDeviceAsync(Device device);
/// <summary>
/// 异步删除一个设备。
/// </summary>
Task<bool> DeleteDeviceByIdAsync(int deviceId);
/// <summary>
/// 异步切换设备的激活状态。