Esempio n. 1
0
 public int DeleteGameSession(GameSession gamesession)
 {
     using (var _db = new ApplicationDbContext())
     {
         var response = _GSessionService.DeleteGameSession(_db, gamesession.Id);
         // will return null if gamesession does not exist
         return(_db.SaveChanges());
     }
 }