C# Class Skimur.Web.Controllers.BaseController

Inheritance: Controller
Exibir arquivo Open project: skimur/skimur

Public Methods

Method Description
CommonJsonResult ( bool success, string error = null ) : System.Web.Mvc.ActionResult
CommonJsonResult ( string error ) : System.Web.Mvc.ActionResult
RedirectToLocal ( string returnUrl ) : System.Web.Mvc.ActionResult
RenderView ( string viewName, object model ) : string

Protected Methods

Method Description
AddErrorMessage ( string message ) : void
AddSuccessMessage ( string message ) : void

Method Details

AddErrorMessage() protected method

protected AddErrorMessage ( string message ) : void
message string
return void

AddSuccessMessage() protected method

protected AddSuccessMessage ( string message ) : void
message string
return void

CommonJsonResult() public method

public CommonJsonResult ( bool success, string error = null ) : System.Web.Mvc.ActionResult
success bool
error string
return System.Web.Mvc.ActionResult

CommonJsonResult() public method

public CommonJsonResult ( string error ) : System.Web.Mvc.ActionResult
error string
return System.Web.Mvc.ActionResult

RedirectToLocal() public method

public RedirectToLocal ( string returnUrl ) : System.Web.Mvc.ActionResult
returnUrl string
return System.Web.Mvc.ActionResult

RenderView() public method

public RenderView ( string viewName, object model ) : string
viewName string
model object
return string