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
Description
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()
andreturn HttpOk()
, orreturn NotFound()
andreturn Ok()
I personally prefer the latter like the previous MVC incarnations. Thoughts folks?
cc @JakeGinnivan