private void btnBorrow_Click(object sender, RoutedEventArgs e) { Model.Customer customer = GetSelectedCustomer(); controller.Borrow(BookCopyToBorrow, customer); btnBorrow.IsEnabled = false; this.Close(); }