Hi
I have a controller/class where a method in this class is being called to get a page programmatically.
As an example, in Umbraco 13 I have 2 pages. When I'm on page 2, I'm calling this method to get some details from page 1.
I can get it by IContent (GetById) or some documents suggest using IPublishedContent.
Which is the correct way to get this type of record?
Thanks