public ViewModelMatchHistory(string username) { if (data == null) { data = new DataAccessProxy(); } try { _player = data.GetPlayerByName(username); } catch (Exception) { _player = new NullPlayer(); } }