public async Task <int> InsertSkippedVotes(SkippedVotes skipped)
 {
     using (var connection = new DbManager(connectionName).Connection)
     {
         return(await connection.InsertAsync <int>(skipped));
     }
 }
Exemple #2
0
 public static async Task SkipVote(SkippedVotes skipped)
 {
     try
     {
         await Electionservice.Voters.InsertSkippedVotes(skipped);
     }
     catch (Exception exception)
     {
         Logger.Log(exception);
         throw;
     }
 }