public override ActionResult Index(RenderModel model)
        {
            //we will create a custom model
            var customModel = new ResetPasswordRenderViewModel(model.Content);

            return(CurrentTemplate(customModel));
        }
        public ActionResult ResetPassword(RenderModel model, string g)
        {
            if (string.IsNullOrEmpty(g))
            {
                throw new ArgumentNullException("Reset password needs to have a valid Reset Guid");
            }

            //we will create a custom model
            var customModel = new ResetPasswordRenderViewModel(model.Content)
            {
                ResetGuid = g
            };

            return(CurrentTemplate(customModel));
        }