example with "User script" not working!!!

39 views
Skip to first unread message

Lucian Bumb

unread,
Apr 5, 2016, 12:40:37 PM4/5/16
to Knockout MVC
Hello, 

I just found this library and I testing the examples, and  this http://knockoutmvc.com/UserScript is not working, more exactly, the AddLetter not working. 
I get the error that the controller/action not found:

here is a picture: (somewhere :));
The controller name, the actions, the models are identical with the example, I even tried to add HttpPosts, and allowget, and still not working

[HttpPost]
     public ActionResult AddLetter(UserScriptModel model)
     {
         model.AddLetter();
         return Json(model,JsonRequestBehavior.AllowGet);
 
     }

Any idea why is not working?

Thank you,
Reply all
Reply to author
Forward
0 new messages