Store collected data

I’m using miniprofiler in Asp.Net Core 2 application.
And I want to save collected data in SQL database.
Please help.
Thanks