Files
DMS/DMS.Infrastructure/Interfaces/IVarDataRepository.cs

18 lines
521 B
C#
Raw Normal View History

2025-07-19 09:25:01 +08:00
using System.Collections.Generic;
using System.Threading.Tasks;
using DMS.Core.Models;
2025-07-19 11:11:01 +08:00
namespace DMS.Infrastructure.Interfaces
2025-07-19 09:25:01 +08:00
{
public interface IVarDataRepository
{
Task<Variable> GetByIdAsync(int id);
Task<List<Variable>> GetAllAsync();
Task<Variable> AddAsync(Variable variable);
Task<int> UpdateAsync(Variable variable);
Task<int> DeleteAsync(Variable variable);
2025-07-19 22:29:50 +08:00
Task BeginTranAsync();
Task CommitTranAsync();
Task RollbackTranAsync();
2025-07-19 09:25:01 +08:00
}
}