Example #1
0
        public Customer FindBy(Guid id)
        {
            Customer customer = new CustomerProxy();
            customer.Id = Guid.NewGuid();
            customer.Name = "Tom";

            ((CustomerProxy)customer).OrderRepository = _orderRepository;

            return customer;
        }
        public Customer FindBy(Guid id)
        {
            Customer customer = new CustomerProxy();

            customer.Id   = Guid.NewGuid();
            customer.Name = "Tom";

            ((CustomerProxy)customer).OrderRepository = _orderRepository;

            return(customer);
        }