Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

ExecuteResultAsync ActionContext statuscode

return new ObjectResult("The message") { 
    StatusCode = (int?) HttpStatusCode.Unauthorized 
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ExecuteResultAsync #ActionContext #statuscode
ADD COMMENT
Topic
Name
8+2 =