using DMS.Core.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace DMS.Core.Interfaces { public interface IMqttRepository { Task GetByIdAsync(int id); Task> GetAllAsync(); Task AddAsync(Mqtt mqtt); Task UpdateAsync(Mqtt mqtt); Task DeleteAsync(Mqtt mqtt); } }