diff --git a/ChaosBot/Database/Repository/RaffleRepository.cs b/ChaosBot/Database/Repository/RaffleRepository.cs index 5b06506..a3df9cd 100644 --- a/ChaosBot/Database/Repository/RaffleRepository.cs +++ b/ChaosBot/Database/Repository/RaffleRepository.cs @@ -22,6 +22,16 @@ namespace ChaosBot.Database.Repository Controller.InsertQuery(Table, dict); } + public static void massInsert(Raffle raffle, int amount) + { + Dictionary dict = new Dictionary(); + + dict.Add("userId", raffle.userId); + + for (int i = 0; i < amount; i++) + Controller.InsertQuery(Table, dict); + } + // public static void delete() // { //