Inject AssignedContentItem into partial view?

Hi - I have a partial view to render an IPublishedElement model, but also need to show content from the current page (IPublishedContent). Can i obtain the current IPC from the DI container?

this is what i tried but it doesn’t work:

@inject UmbracoHelper  UmbracoHelper
@{
    var ipc = UmbracoHelper.AssignedContentItem;
}

thanks


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/107035-inject-assignedcontentitem-into-partial-view