private async void OnDeleteCustomer(SimpleCustomer customerToDelete)
        {
            bool deleteStatus = await _customerService.DeleteCustomerAsync(customerToDelete);

            LoadCustomers();
        }
 private void OnEditCustomer(SimpleCustomer customerToEdit)
 {
     EditCustomerRequested(customerToEdit);
 }
 public Task <bool> UpdateCustomerAsync(SimpleCustomer customerToUpdate)
 {
     throw new NotImplementedException();
 }
 private void OnPlaceOrder(SimpleCustomer customer)
 {
     // in order to load up the place order child view we need to communicate with the MainWindow view so we can replace this view with
     // the view we want. There are many ways to do this but we are going to raise an event in the child that the parent can handle.
     PlaceOrderRequested(customer.Id);
 }
 public Task <bool> AddCustomerAsync(SimpleCustomer customerToAdd)
 {
     throw new NotImplementedException();
 }