public SampleConsulting()
        {
            IDbFactory dbFactory = new DbFactory();
            IUnitOfWork unitOfWork = new UnitOfWork(dbFactory);

            IOrderRepository orderRepository = new OrderRepository(dbFactory);
            _orderBusinessService = new OrderBusinessService(unitOfWork, orderRepository);

            IOrderPositionRepository orderPositionRepository = new OrderPositionRepository(dbFactory);
            _positionBusinessService = new OrderPositionBusinessService(unitOfWork, orderPositionRepository);
        }
        public SampleConsulting()
        {
            IDbFactory  dbFactory  = new DbFactory();
            IUnitOfWork unitOfWork = new UnitOfWork(dbFactory);

            IOrderRepository orderRepository = new OrderRepository(dbFactory);

            _orderBusinessService = new OrderBusinessService(unitOfWork, orderRepository);

            IOrderPositionRepository orderPositionRepository = new OrderPositionRepository(dbFactory);

            _positionBusinessService = new OrderPositionBusinessService(unitOfWork, orderPositionRepository);
        }