Files
DMS/DMS.Infrastructure/Interfaces/IVarDataRepository.cs
2025-07-19 22:29:50 +08:00

18 lines
521 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using DMS.Core.Models;
namespace DMS.Infrastructure.Interfaces
{
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);
Task BeginTranAsync();
Task CommitTranAsync();
Task RollbackTranAsync();
}
}