public void AddCustomer(Customer customer)
 {
     CustomerArchive.Add(customer);
     PersistencyServiceCustomerArchive.SaveCustomerArchiveAsJsonAsync(CustomerArchive);
 }
 public void RemoveCustomer(Customer customerToBeRemoved)
 {
     CustomerArchive.Remove(customerToBeRemoved);
     PersistencyServiceCustomerArchive.SaveCustomerArchiveAsJsonAsync(CustomerArchive);
 }
 public void AddCustomer(string companyName, string phoneNumber, string adress, string email, string att, string cvr)
 {
     CustomerArchive.Add(new Customer(companyName, phoneNumber, adress, email, att, cvr));
     PersistencyServiceCustomerArchive.SaveCustomerArchiveAsJsonAsync(CustomerArchive);
 }