System.Web.Mvc.FlashHelpers.FlashError C# (CSharp) Method

FlashError() public static method

public static FlashError ( this controller, string message ) : void
controller this
message string
return void
        public static void FlashError(this Controller controller, string message)
        {
            controller.TempData["error"] = message;
        }