okuda-seminar / log_service

Apache License 2.0
0 stars 0 forks source link

[Server] Implement ListLogs Method in Usecase Layer #24

Closed Rwatana closed 1 month ago

Rwatana commented 1 month ago

Summary

This issue aims to implement the ListLog method in the usecase layer, which will allow the retrieval of all log records. This method will serve as an intermediary between the repository layer and the presentation layer.

Proposed Changes

  1. Define the ListLog method in the IListLogsUseCase interface.
  2. Implement the ListLog method in the ListLogsUseCase struct.
  3. Ensure that the ListLog method calls the appropriate repository method to retrieve all log records.

Goal

The issue will be considered resolved when:

Todo