JsonHelper.Success Method (String, Object)

Template MVC

JsonHelperSuccess Method (String, Object)

Returns a Success Response with the given text and serialize object

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 Success(
	string responseText,
	Object data
)

Parameters

responseText
Type: SystemString

[Missing <param name="responseText"/> documentation for "M:Template.Web.Commons.Utils.JsonHelper.Success(System.String,System.Object)"]

data
Type: SystemObject

[Missing <param name="data"/> documentation for "M:Template.Web.Commons.Utils.JsonHelper.Success(System.String,System.Object)"]

Return Value

Type: JsonResult
The JsonResult object
See Also