Skip to content

Fix ActionResult<T> for consistency#17540

Merged
scottaddie merged 1 commit intodotnet:masterfrom
serpent5:serpent5/#17528
Mar 31, 2020
Merged

Fix ActionResult<T> for consistency#17540
scottaddie merged 1 commit intodotnet:masterfrom
serpent5:serpent5/#17528

Conversation

@serpent5
Copy link
Copy Markdown
Contributor

Fixes #17528.

Really, this should just be IActionResult, because TodoItemDTO isn't returned from the method. I was gonna do that instead, but the scaffolded code sets things up like this. It really doesn't matter what type is used for the generic here, but using TodoItemDTO makes sense, at least.

@scottaddie scottaddie self-requested a review March 31, 2020 18:40
@scottaddie scottaddie merged commit ad8c504 into dotnet:master Mar 31, 2020
@scottaddie
Copy link
Copy Markdown
Member

Thank you for the help fixing this, @serpent5!

@serpent5 serpent5 deleted the serpent5/#17528 branch March 31, 2020 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Signature mismatch

2 participants