I'm trying to generate a link to my Create view, which i scaffolded using Entity Framework. The views are all there and looking fine, but for some reason I can't link to them through normal means from my Umbraco template.
I tried using the Url.Action method for the href attribute in my link:
@Url.Action("Bookings", "Create")
But that just generates an empty link with no href. I tried creating an action link as well, but that behaved the same way.
I set the layout for my CRUD views to my master template in Umbraco.
This is the structure for my ADO.NET Data model: https://i.imgur.com/y0oNnWn.png
How is the correct approach to do this? Does Umbraco use some other methods or controllers to inherit from?
Accessing Entity Framework CRUD views
I'm trying to generate a link to my Create view, which i scaffolded using Entity Framework. The views are all there and looking fine, but for some reason I can't link to them through normal means from my Umbraco template.
I tried using the Url.Action method for the href attribute in my link:
But that just generates an empty link with no href. I tried creating an action link as well, but that behaved the same way.
I set the layout for my CRUD views to my master template in Umbraco. This is the structure for my ADO.NET Data model: https://i.imgur.com/y0oNnWn.png
How is the correct approach to do this? Does Umbraco use some other methods or controllers to inherit from?
is working on a reply...