Wie kann ich auf ParentActionViewContext in Asp.Net Core zugreifen, habe ich folgende Befehle verwendet, aber im Kern sind sie nicht verfügbar. ControllerContext.ParentActionViewContext.RouteData.Values["controller"].ToString();
, ControllerContext.ParentActionViewContext.ViewBag.Model as MyViewModel
ControllerContext.ParentActionViewContext in asp.net Kern
Ich konnte nichts über diese wegen der Knappheit von Informationen über .Net Core finden.
Vielen Dank im Voraus.