Files
DMS/DMS.Infrastructure/Interfaces/IMqttRepository.cs

15 lines
384 B
C#
Raw Normal View History

2025-07-19 09:25:01 +08:00
using DMS.Core.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
2025-07-19 11:11:01 +08:00
namespace DMS.Infrastructure.Interfaces
2025-07-19 09:25:01 +08:00
{
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);
}
}