feature: flag permissions
feature: flag permissions
This commit is contained in:
1 parent
7deead494b
commit
be7ee4cae8
72 files changed
+5590
-2109
No files matched your search
@@ -12,7 +12,13 @@ namespace Disco.Services.Web
|
||||
protected static HttpStatusCodeResult BadRequest(string message = null)
|
||||
=> StatusCode(HttpStatusCode.BadRequest, message);
|
||||
|
||||
protected static HttpStatusCodeResult StatusCode(HttpStatusCode statusCode, string message = null)
|
||||
=> new HttpStatusCodeResult(statusCode, message);
|
||||
protected static HttpStatusCodeResult StatusCode(HttpStatusCode statusCode, string statusDescription = null)
|
||||
=> new HttpStatusCodeResult(statusCode, statusDescription);
|
||||
|
||||
protected static HttpNotFoundResult NotFound(string statusDescription = null)
|
||||
=> new HttpNotFoundResult(statusDescription);
|
||||
|
||||
protected static HttpUnauthorizedResult Unauthorized(string statusDescription = null)
|
||||
=> new HttpUnauthorizedResult(statusDescription);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user