12345678910111213141516171819202122232425262728293031 |
-
- using MTWorkHR.Core.Entities;
- using MTWorkHR.Core.IRepositories;
- using MTWorkHR.Core.IRepositories.Base;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
- using System.Text;
- using System.Threading.Tasks;
- namespace MTWorkHR.Core.UnitOfWork
- {
- public interface IUnitOfWork
- {
- IPermissionRepository Permission { get; }
- //IRepository<Employee> Employee { get; }
- Task<int> CompleteAsync();
- void BeginTran();
- void CommitTran();
- void RollbackTran();
- object GetRepositoryByName(string name);
- }
- }
|