Dynamically add route value parameter from database in Asp.Net Core
<p>I'm creating multi-tenancy application, with single database per library, for example.</p>

<p>I want to dynamically add library name to route, for example, when user trying to get all books <code>/Books/GetAllBooks</code>, I must add library name, which could be retrieved from database, for example: <code>/LibraryName/Books/GetAllBooks</code>, so the user can get all books only from the library, which he belongs to.</p>

<p>What should I do? Implement my own IRouter, my own template route, something else?</p>