Exemplo n.º 1
0
        public static NewTableRepository GetNewTableRepository()
        {
            var repository = new NewTableRepository();

            repository.UnitOfWork = GetUnitOfWork();
            return(repository);
        }
Exemplo n.º 2
0
        public static NewTableRepository GetNewTableRepository(IUnitOfWork unitOfWork)
        {
            var repository = new NewTableRepository();

            repository.UnitOfWork = unitOfWork;
            return(repository);
        }