C# Class MVC5.Common.Controller.BaseController

Inheritance: System.Web.Mvc.Controller
显示文件 Open project: rabbal/AspNetMVCNTierTemp

Public Methods

Method Description
BoostrapDanger ( string message, bool dismissable = false ) : void
BoostrapInformation ( string message, bool dismissable = false ) : void
BoostrapSuccess ( string message, bool dismissable = false ) : void
BoostrapWarning ( string message, bool dismissable = false ) : void
ToastrError ( string message, string title = "", bool isSticky = false ) : void
ToastrInformation ( string message, string title = "", bool isSticky = false ) : void
ToastrSuccess ( string message, string title = "", bool isSticky = false ) : void
ToastrWarning ( string message, string title = "", bool isSticky = false ) : void

Private Methods

Method Description
RedirectToLocal ( string returnUrl ) : System.Web.Mvc.ActionResult

Method Details

BoostrapDanger() public method

public BoostrapDanger ( string message, bool dismissable = false ) : void
message string
dismissable bool
return void

BoostrapInformation() public method

public BoostrapInformation ( string message, bool dismissable = false ) : void
message string
dismissable bool
return void

BoostrapSuccess() public method

public BoostrapSuccess ( string message, bool dismissable = false ) : void
message string
dismissable bool
return void

BoostrapWarning() public method

public BoostrapWarning ( string message, bool dismissable = false ) : void
message string
dismissable bool
return void

ToastrError() public method

public ToastrError ( string message, string title = "", bool isSticky = false ) : void
message string
title string
isSticky bool
return void

ToastrInformation() public method

public ToastrInformation ( string message, string title = "", bool isSticky = false ) : void
message string
title string
isSticky bool
return void

ToastrSuccess() public method

public ToastrSuccess ( string message, string title = "", bool isSticky = false ) : void
message string
title string
isSticky bool
return void

ToastrWarning() public method

public ToastrWarning ( string message, string title = "", bool isSticky = false ) : void
message string
title string
isSticky bool
return void