change partial view based on select asp.net core code example
Example: change partial view based on select asp.net core
// partial view controller
public IViewResult LoadPartial() {
return PartialView("_login"); // name of the partial view
}
// view (with jquery)
$("#container").load("LoadPartial");