12 lines
267 B
C#
12 lines
267 B
C#
using DMS.Core.Models;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DMS.Infrastructure.Interfaces
|
|
{
|
|
public interface IDeviceService
|
|
{
|
|
Task<Device> AddAsync(Device device);
|
|
Task<List<Device>> GetAllAsync();
|
|
}
|
|
} |