How should I handle Layout and Context in a Tutorial Authentication project?
According to your other threads, you've already created Identity DbContext, added the migration, updated the database, and added a user account. Do not click the plus sign. Click the dropdown and select the Identity DbContext you already created. For the layout option, you get to select a layout page. Since you created an MVC project, the Areas\Identity\Pages_viewstart.cshtml file should already point to the ~/Views/Shared/_Layout.cshtml. so there is no need to select another layout unless you want or need to.
Select an Existing layout page, or specify a new one: ~/Views/Shared/_Layout.cshtml (Leave empty if it is set in a Razor _viewstart file)
By the way, you are not separating concerns. You are actually doing the opposite by creating duplicated code.