Created
April 20, 2015 18:54
-
-
Save johnmmoss/567cf474718beebba214 to your computer and use it in GitHub Desktop.
Specialized HttpStatus result classes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public HttpNotFoundResult NotFound() | |
{ | |
var statusCode = new HttpNotFoundResult(); | |
return statusCode; | |
} | |
public HttpUnauthorizedResult Unauthorized() | |
{ | |
var statusCode = new HttpUnauthorizedResult(); | |
return statusCode; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment