Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Controller helper inconsistency: HttpNotFound(), Ok() #4085

Closed
@cottsak

Description

@cottsak

I can return HttpNotFound() or I can return Ok() from a Controller. Why the inconsistent naming?

It should be one of these two alternatives IMO:

  • return HttpNotFound() and return HttpOk(), or
  • return NotFound() and return Ok()

I personally prefer the latter like the previous MVC incarnations. Thoughts folks?
cc @JakeGinnivan

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions