public CustomerRepository(CustomerFactory factory, string serviceUri)
        {
            this.serviceUri = serviceUri; //The service Uri you'll use to fetch the data from.

            customersData = new List<Customer>
                             	{
                             		factory.Invoke("John", "Doe", 30),
                             		factory.Invoke("Jane", "Doe", 25)
                             	};
        }
        public CustomerRepository(CustomerFactory factory, string serviceUri)
        {
            this.serviceUri = serviceUri;             //The service Uri you'll use to fetch the data from.

            customersData = new List <Customer>
            {
                factory.Invoke("John", "Doe", 30),
                factory.Invoke("Jane", "Doe", 25)
            };
        }