临时提交3

This commit is contained in:
2025-07-19 11:11:01 +08:00
parent 01fe2e14ef
commit ca67d2e6df
117 changed files with 476 additions and 910 deletions

View 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);
}
}