---
title: "Discussion on \"One Method Is Enough: Extracting a Use Case Port for Cross-Module Deletion\" | Hashnode"
description: "Discussion on \"One Method Is Enough: Extracting a Use Case Port for Cross-Module Deletion\". TL;DR\n\nShelfAccessPortAdapter (in the bookcase module) needed to delete shelves. It did this through ShelfCommandFacade — a 3-method interface whose other two methods the adapter never touches.\n\nFix:"
url: "https://hashnode.com/posts/one-method-is-enough-extracting-a-use-case-port-for-cross-module-deletion/69a4e1e3a7428b958d067608"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [One Method Is Enough: Extracting a Use Case Port for Cross-Module Deletion](https://buildingbibby.hashnode.dev/one-method-is-enough-extracting-a-use-case-port-for-cross-module-deletion?utm_source=hashnode&utm_medium=feed)

TL;DR ShelfAccessPortAdapter (in the bookcase module) needed to delete shelves. It did this through ShelfCommandFacade — a 3-method interface whose other two methods the adapter never touches. Fix:

Mar 2 · 10 min read · buildingbibby.hashnode.dev  
Read the article

## Written by

[Leo D. Penrose](https://hashnode.com/@ldpenrose)

@ldpenrose

  
[View profile](https://hashnode.com/@ldpenrose)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
