Update action-results.md (#3701)

pull/3702/merge
mahdishahbazi 2017-07-13 00:56:41 +10:00 committed by Scott Addie
parent af72b3d973
commit 3eb0b09fe1
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ Web API uses the Accept header in the request to choose the formatter. For more
## IHttpActionResult
The **IHttpActionResult** interface was introducted in Web API 2. Essentially, it defines an **HttpResponseMessage** factory. Here are some advantages of using the **IHttpActionResult** interface:
The **IHttpActionResult** interface was introduced in Web API 2. Essentially, it defines an **HttpResponseMessage** factory. Here are some advantages of using the **IHttpActionResult** interface:
- Simplifies [unit testing](../testing-and-debugging/unit-testing-controllers-in-web-api.md) your controllers.
- Moves common logic for creating HTTP responses into separate classes.