Ejemplo n.º 1
0
 public void Add()
 {
     TestServiceReference.Customer newCustomer = new TestServiceReference.Customer();
     newCustomer.Address   = this.Address;
     newCustomer.Phone     = this.Phone;
     newCustomer.LastName  = this.LastName;
     newCustomer.FirstName = this.FirstName;
     model.AddCustomer(newCustomer);
     RefreshList();
 }
Ejemplo n.º 2
0
 public ObservableCollection <TestServiceReference.Product> GetProducts(TestServiceReference.Customer customer)
 {
     return(testReference.GetProducts(customer));
 }
Ejemplo n.º 3
0
 public void DeleteCustomer(TestServiceReference.Customer customer)
 {
     testReference.DeleteCustomer(customer);
 }
Ejemplo n.º 4
0
 public void UpdateCustomer(TestServiceReference.Customer customer)
 {
     testReference.UpdateCustomer(customer);
 }
Ejemplo n.º 5
0
 public void AddCustomer(TestServiceReference.Customer customer)
 {
     testReference.AddCustomer(customer);
 }