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