按照软件设计文档开始重构代码01

This commit is contained in:
2025-07-21 14:35:17 +08:00
parent a7b0a5d108
commit 29a2d44319
127 changed files with 12265 additions and 1586 deletions

View File

@@ -7,13 +7,14 @@ namespace DMS.Infrastructure.Interfaces
{
public interface IMqttRepository
{
Task<DbMqtt> GetByIdAsync(int id);
Task<List<DbMqtt>> GetAllAsync();
Task<int> AddAsync(DbMqtt mqtt);
Task<int> UpdateAsync(DbMqtt mqtt);
Task<int> DeleteAsync(DbMqtt mqtt);
Task<DbMqttServer> GetByIdAsync(int id);
Task<List<DbMqttServer>> GetAllAsync();
Task<int> AddAsync(DbMqttServer mqtt);
Task<int> UpdateAsync(DbMqttServer mqtt);
Task<int> DeleteAsync(DbMqttServer mqtt);
Task BeginTranAsync();
Task CommitTranAsync();
Task RollbackTranAsync();
}
}