C# Class WebAppNet45.Account.AccountHelpers

Mostra file Open project: beginor/practice Class Usage Examples

Public Methods

Method Description
Require ( IList errors, string fieldValue, string error ) : void
WriteJsonResponse ( HttpResponse response, List errors ) : void
WriteJsonResponse ( HttpResponse response, List errors, string redirect ) : void
WriteJsonResponse ( HttpResponse response, object model ) : void

Method Details

Require() public static method

public static Require ( IList errors, string fieldValue, string error ) : void
errors IList
fieldValue string
error string
return void

WriteJsonResponse() public static method

public static WriteJsonResponse ( HttpResponse response, List errors ) : void
response System.Web.HttpResponse
errors List
return void

WriteJsonResponse() public static method

public static WriteJsonResponse ( HttpResponse response, List errors, string redirect ) : void
response System.Web.HttpResponse
errors List
redirect string
return void

WriteJsonResponse() public static method

public static WriteJsonResponse ( HttpResponse response, object model ) : void
response System.Web.HttpResponse
model object
return void