Skip to content

Commit cf4cd9d

Browse files
authored
Update min-web-api.md (#34591)
1 parent 44e4427 commit cf4cd9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/tutorials/min-web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ public async Task GetAllTodos_ReturnsOkOfTodosResult()
618618

619619
## Prevent over-posting
620620

621-
Currently the sample app exposes the entire `Todo` object. Production apps In production applications, a subset of the model is often used to restrict the data that can be input and returned. There are multiple reasons behind this and security is a major one. The subset of a model is usually referred to as a Data Transfer Object (DTO), input model, or view model. **DTO** is used in this article.
621+
Currently the sample app exposes the entire `Todo` object. In production applications, a subset of the model is often used to restrict the data that can be input and returned. There are multiple reasons behind this and security is a major one. The subset of a model is usually referred to as a Data Transfer Object (DTO), input model, or view model. **DTO** is used in this article.
622622

623623
A DTO can be used to:
624624

0 commit comments

Comments
 (0)