按照软件设计文档开始重构代码01
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user