https://elanderson.net/2016/08/asp-net-core-basics-mvc-controller-with-entity-framework-core/
ASP.NET Core Basics: MVC Controller with Entity Framework Core