As far as I know, if you want to modify the ASP.NET Core MVC, you should modify the layout, the layout is the main page which has the bootstrap reference.
You could find it inside the shared folder and modify the reference inside it.
Details, you could refer to below steps:
1.Find the _Layout.cshtml and modify the codes:
2.Modify the bootstrap reference as your requirement: