public UnitWork(UnitWorkInfo unitWorkInfo, AppDbContext appDbContext, IMapper mapper) { Info = unitWorkInfo; Context = appDbContext; Mapper = mapper; _transaction = null; }
public EFRepositoryBase(UnitWork unitWork) { _unitWork = unitWork; _context = _unitWork.Context; _info = _unitWork.Info; }