public bool DeleteGameRoom(int roomId, int gameId) { try { using (connectionsLinqDataContext db = new connectionsLinqDataContext()) { db.DeleteGameRoom(roomId, gameId); return(true); } } catch (Exception e) { return(false); } }