Exemplo n.º 1
0
 public void Add(string name, string att, string address, string postalNo, string phoneNo, string cvr)
 {
     CustomerList.Add(new Customer(name, att, address, postalNo, phoneNo, cvr));
     PersistencyService.SaveKundeListeAsJsonAsync(CustomerList);
 }
Exemplo n.º 2
0
 public void Remove(Customer customerToBeRemoved)
 {
     CustomerList.Remove(customerToBeRemoved);
     PersistencyService.SaveKundeListeAsJsonAsync(CustomerList);
 }
Exemplo n.º 3
0
 public void Add(Customer newCustomer)
 {
     CustomerList.Add(newCustomer);
     PersistencyService.SaveKundeListeAsJsonAsync(CustomerList);
 }