临时提交3
This commit is contained in:
15
DMS.Infrastructure/Interfaces/IMqttRepository.cs
Normal file
15
DMS.Infrastructure/Interfaces/IMqttRepository.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using DMS.Core.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DMS.Infrastructure.Interfaces
|
||||
{
|
||||
public interface IMqttRepository
|
||||
{
|
||||
Task<Mqtt> GetByIdAsync(int id);
|
||||
Task<List<Mqtt>> GetAllAsync();
|
||||
Task<int> AddAsync(Mqtt mqtt);
|
||||
Task<int> UpdateAsync(Mqtt mqtt);
|
||||
Task<int> DeleteAsync(Mqtt mqtt);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user