JsonHelper.Fail Method (String)

Template MVC

JsonHelperFail Method (String)

Returns a fail response with the given text (isSuccess = false, responseText = responseText)

Namespace:  Template.Web.Commons.Utils
Assembly:  Template.Web (in Template.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static JsonResult Fail(
	string responseText
)

Parameters

responseText
Type: SystemString
The text to returns

Return Value

Type: JsonResult
The JsonResult object
See Also