Beispiel #1
0
 public int InsertGameStatistics(GameStatistics gameStatistics)
 {
     using (GamingAppDataContext db = new GamingAppDataContext())
     {
         db.GameStatistics.Add(gameStatistics);
         var result = db.SaveChanges();
         return(result);
     }
 }
Beispiel #2
0
 public void Commit()
 {
     _dbContext.SaveChanges();
 }