# Returning ActionResult&lt;T>

ActionResult&lt;T> lets an action return either its data or a status code result, such as NotFound(). Return the item to answer 200 with it, or a helper such as NotFound(), BadRequest() or Conflict() to answer with that status instead.

![Cheat sheet: Returning ActionResult&lt;T>](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/eee5e83e35fb45c680db8e8035eefc50.webp)

- Category: ASP.NET Core
- Level: Journeyman
- Tags: 409 Conflict, ActionResult&lt;T>, aspnet-core, IActionResult, rest-api
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/web-apis-with-controllers-returning-actionresult-t-cheat-sheet
