✅ Not able to Insert data to table using Dapper

Hey folks! I'm trying to have Dapper insert a MapsModel to the database with a relation to the PlayerModel. However, when I try to do that, I get this error:
A fatal error occured while trying to handle chat command: The member Player of type EvoSC.Common.Database.Models.Player.DbPlayer cannot be used as a parameter value

The code I use can be found in this pastebin:
https://pastebin.com/q99mmvnX

Anyone know how I can solve this?
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Was this page helpful?