I created a .Net 5 Web Api project and a library project. In the library project I created a database entity, a context and an extension to register the context on startup