Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Which is better?
protected override IPublishedContent FindContent(RequestContext requestContext, UmbracoContext umbracoContext) { var helper = new UmbracoHelper(umbracoContext); returnhelper.TypedContent(_pageId); }
Or
protected override IPublishedContent FindContent(RequestContext requestContext, UmbracoContext umbracoContext) { return umbracoContext.ContentCache.GetById(_pageId); }
or another way?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Which is the best way to find content by Id?
Which is better?
Or
or another way?
is working on a reply...