Discussion about this post

User's avatar
Nguyễn Lê Tấn Nghiệp's avatar

When I use this pattern, will my response status code be affected as well. For examples, if (item == null) return Result<Item>.Failure($"Item with ID {id} not found"); Will this response status code is 404 or it is going to be 200 with the Failure message

Expand full comment
2 more comments...

No posts