In the header html of our website we would like to insert a form, but it is not accessible from experience editor or content editor so I would like to insert it directly into the cshtml page for the header. I feel like it should be relatively simple, but have run into the wall.
I tried the below (but I really don't know what I'm doing) and it did not work.
@Html.Sitecore().Rendering("/sitecore/layout/Renderings/Modules/Web Forms for Marketers/Mvc Form", new {"formId","{11223344-5566-7788-9900-AABBCCDDEEFF}"})
I also tried:
@Html.Sitecore().RenderingItem("{11223344-5566-7788-9900-AABBCCDDEEFF}")
And I tried substituting the path for the id of the form.