public IActionResult CreateCookiePOST( )
        {
            Models.CookieSerializableObject obj = this.CookieHelper.GetFromCookie <Models.CookieSerializableObject>( );

            this.SetActionStatusMessage(Framework.Result.SuccessResult("The object has been populated from the cookie values, and is displayed below."), false);
            return(this.View(obj));
        }
        public IActionResult CreateCookie()
        {
            Models.CookieSerializableObject obj = new Models.CookieSerializableObject( );
            obj.Populate( );    // Generates and assigns random values to the object's properties
            this.CookieHelper.SetCookie(obj, this.CookieHelper.GetDefaultCookieOptions( ));

            return(this.View(obj));
        }