public string GetUrl(string id, string contentTypeId) { var contentType = ContentTypeProvider.Get(contentTypeId); var content = ContainerSpecificContentGetter.Get <IContent>(id, null, contentType.Container); return(UrlProvider.Get(content)); }
public IContent GetSingleton(string id) { var contentType = ContentTypeProvider.Get(id); var singleton = SingletonProvider.Get(id); return(ContainerSpecificContentGetter.Get <IContent>(singleton.Id, null, contentType.Container)); }