Example #1
0
        public ActionResult Index()
        {
            InitializeViewBag("User script");
            var model = new UserScriptModel {
                Message = "Knockout"
            };

            return(View(model));
        }
Example #2
0
 public ActionResult AddLetter(UserScriptModel model)
 {
     model.AddLetter();
     return(Json(model));
 }