Im using ASP.NET Core 2.2. The problem that I have is I don't know where to use
@RenderBody() in my _Layout page. This is representation of what I want to do:

The green parts should come from _Layout and white parts coming from HomePage.cshtml. My HomePage consists of two parts a slider and a list of content below it.This is what I tried, but it doesn't meet my need because i can't put slider in it.
this is _Layout
<html>
<body>
<main>
<header></header>
<div class="left-col">
<div class="content">@RenderBody()</div>
<div class="right-col">
<footer></footer>
</main>
</body>
</html>