what is the best way to call an method in startup.cs configure(). I can't find something on the internet. is it possible?
I need this to create routes out of the database and want to keep my code so cleane as possible. I can't figure it out by myself