Generally, the ASP.MVC tutorials include the plethora of codes which makes reader confused. I would like to share the very clean approach to be able to understand what is continues in behind. After perusing these codes you can read other tutorial more easily

https://gist.github.com/suatatan/a7b7a741213b560d6eea.js