Skip to main content
1 of 2
Stephu
  • 3.4k
  • 5
  • 26
  • 33

You can't use the model in JS like that @Model.user. See Accessing MVC's model property from Javascript for details

Stephu
  • 3.4k
  • 5
  • 26
  • 33