Hi, create a partial view through a one-action method of a controller. When referencing the partial view from a parent view with the following code
@Html.Partial("~/Views/SubAutomovil/Create.cshtml")
The partial view is loaded in the parent view but it does not load the data sent by the controller. If I call this same view as any normal view using the following Code
<a asp-controller="SubAutomovil" asp-action="Create">
Show the view and load the data correctly. I suppose, then, that since the parent view uses a different controller than the partial view, the latter is not able to load its own data, maybe it does not. I have little learning ASP.NET Core (MVC6) so I have little experience. If someone already solves this please show me how I can solve it.