2025-07-19 14:36:34 +08:00
|
|
|
using DMS.Core.Models;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DMS.Infrastructure.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IDeviceService
|
|
|
|
|
{
|
2025-07-19 19:55:42 +08:00
|
|
|
Task<Device> AddAsync(Device device);
|
|
|
|
|
Task<List<Device>> GetAllAsync();
|
2025-07-19 14:36:34 +08:00
|
|
|
}
|
|
|
|
|
}
|