I usually use the Ruby on Rails framework but for this project I need to work with ASP.NET MVC and I'm confused.
Basically I have 1 table :
*Page = (id, name, category_id)*
Category_id is actually a link to a page (a page can be linked to another page). I set up foreign keys and everything, the model is up and working.
My question is : How to I link one page to another? If I try to set the category_id, it doesn't seem to be working... Is there a simple way of creating a dropdown menu from the Page model and use it in the Create/Edit actions of my application?