GetArticlesUseCase
Retrieves a list of articles from the repository, optionally filtered by a search query.Method: getArticles
Fetches articles with optional search filtering.Parameters
Optional search query to filter articles. If null, returns all articles.
Returns
A Resource wrapper containing either a successful list of articles or an error state.
Example Usage
GetArticleByIdUseCase
Retrieves detailed information about a specific article by its ID.Method: getArticleById
Fetches the full details of an article using its unique identifier.Parameters
The unique identifier of the article to retrieve.
Returns
A Resource wrapper containing either the article details or an error state.