protected override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            var cookie = Request.Cookies.Get(MessageResolver.MessageCookieName);

            if (cookie != null)
            {
                ViewBag.Message = MessageResolver.Resolve(cookie.Value);

                cookie.Expires = DateTime.UtcNow.AddYears(-1);

                Response.Cookies.Set(cookie);
            }

            base.OnActionExecuting(filterContext);
        }
 protected void SetMessage(MessageKey key)
 {
     ViewBag.Message = MessageResolver.Resolve(key);
 }