Some small improvements for clarity.
* PostModel -> PostDto * 404 test case * README
This commit is contained in:
@@ -16,7 +16,7 @@ public class JsonPlaceholderClient
|
||||
// TODO: Configure the client as needed.
|
||||
}
|
||||
|
||||
public async Task<PostModel?> GetPostByIdAsync(int id, CancellationToken ct = default)
|
||||
public async Task<PostDto?> GetPostByIdAsync(int id, CancellationToken ct = default)
|
||||
{
|
||||
// TODO: Implement the logic to call the external service and retrieve the post by ID.
|
||||
throw new NotImplementedException("This method will be implemented in Phase 1.");
|
||||
|
||||
Reference in New Issue
Block a user