method to post information in two different classes ef core api code example Example: aspnet new api dotnet new webapi -o TodoApi