Skip to content

Commit

Permalink
fix: ListAllCategoriesInMenuUseCase
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielgennaro committed Oct 3, 2024
1 parent 43a99ab commit b7c6f0f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@

public class ListAllCategoriesInMenuUseCase {

public ListAllCategoriesInMenuUseCase() {
}

public List<CategoryDTO> execute(CategoryGateway categoryGateway) {
return categoryGateway.findAll().stream().map(Category::toDTO).toList();
}
Expand Down

0 comments on commit b7c6f0f

Please sign in to comment.