C# Class Randao.Web.Controllers.CustomerController

Inheritance: Controller
Mostra file Open project: fds/DKBD

Protected Methods

Method Description
Json ( object data, string contentType, Encoding contentEncoding, JsonRequestBehavior behavior ) : System.Web.Mvc.JsonResult
RedirectToErrorAction ( int code, string message = "" ) : System.Web.Mvc.ActionResult
VerifyToErrorAction ( Func acquire, int errorCode, string message = "" ) : void

Method Details

Json() protected method

protected Json ( object data, string contentType, Encoding contentEncoding, JsonRequestBehavior behavior ) : System.Web.Mvc.JsonResult
data object
contentType string
contentEncoding System.Text.Encoding
behavior JsonRequestBehavior
return System.Web.Mvc.JsonResult

RedirectToErrorAction() protected method

protected RedirectToErrorAction ( int code, string message = "" ) : System.Web.Mvc.ActionResult
code int
message string
return System.Web.Mvc.ActionResult

VerifyToErrorAction() protected method

protected VerifyToErrorAction ( Func acquire, int errorCode, string message = "" ) : void
acquire Func
errorCode int
message string
return void