Hello Kavita, Go through below articles.
https://www.c-sharpcorner.com/article/implementing-onion-architecture-in-asp-net-core-3-om/
https://www.c-sharpcorner.com/article/onion-architecture-in-asp-net-core-mvc/ 
https://social.technet.microsoft.com/wiki/contents/articles/36655.onion-architecture-in-asp-net-core-mvc.aspx