Added starter method for directory root:good; adding json props and converters to directory classes

This commit is contained in:
Heath Volmer
2018-08-08 10:34:40 -06:00
parent e196ff1627
commit ad48b1ebac
4 changed files with 57 additions and 18 deletions

View File

@@ -62,7 +62,8 @@ namespace PepperDash.Essentials
var routeRoom = Room as IRunRouteAction;
if(routeRoom != null)
Parent.AddAction(string.Format(@"/room/{0}/source", Room.Key), new Action<SourceSelectMessageContent>(c => routeRoom.RunRouteAction(c.SourceListItem)));
Parent.AddAction(string.Format(@"/room/{0}/source", Room.Key), new Action<SourceSelectMessageContent>(c =>
routeRoom.RunRouteAction(c.SourceListItem)));
var defaultRoom = Room as IRunDefaultPresentRoute;
if(defaultRoom != null)