Created
July 6, 2015 09:14
-
-
Save rasmusfjord/070558245ae4ef91ec11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @inherits Umbraco.Web.Mvc.UmbracoViewPage<Umbraco.Core.Models.IPublishedContent> | |
| <p>@Umbraco.GetDictionaryValue("Værelse")</p> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class BookingController : SurfaceController | |
| { | |
| public ActionResult GetRoomMarkup(int id) | |
| { | |
| return PartialView("booking-rooms", Umbraco.TypedContent(id)); | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My solution ended up being like this :
View:
Surfacecontroller Inheriter:
Surfacecontroller that inherites: