I have an action in the controller to load data for Partial view
as below:
public async Task<IActionResult> ParentTutorCountByLocation()
{
var result = await this.dashboardService.GetParentTutorCountPerLocation();
return this.PartialView("Dashboard/ParentTutorCountByLocation", result);
}
I've to call it over another view:
tried, renderPartialAsync, Partial
<div class="row">
<partial name="ParentTutorCountByLocation" />
</div>
it is load the partial but without data not sure how i can do it. (can't use viewcomponents and ajax)