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

            ((CustomerProxy)customer).OrderRepository = _orderRepository;

            return customer;
        }
Ejemplo n.º 2
0
        public Customer FindBy(Guid id)
        {
            Customer customer = new CustomerProxy();

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

            ((CustomerProxy)customer).OrderRepository = _orderRepository;

            return(customer);
        }