JsonHelper Methods
From Template MVC
Template Documentation
JsonHelper Methods |
| Name | Description | |
|---|---|---|
| Fail |
Returns a Fail response (isSuccess = false)
| |
| Fail(String) |
Returns a fail response with the given text (isSuccess = false, responseText = responseText)
| |
| Fail(String, Object) |
Returns a fail Response with the given text and serialize object (isSuccess = false, responseText = responseText, date = data)
| |
| Success |
Returns a Success response (isSuccess = true)
| |
| Success(String) |
Returns a Success response with the given text (isSuccess = true, responseText = responseText)
| |
| Success(String, Object) |
Returns a Success Response with the given text and serialize object
|