public PlayerParty Create(string name, string legalId)
        {
            var party = new PlayerParty {
                Name         = name,
                LegalId      = legalId,
                ScoreAccount = new RoundsScoreAccount()
                {
                    Entries = new List <RoundsScoreEntry>()
                },
                WinningAccount = new WinningAccount()
                {
                    Entries = new List <WinningEntry>()
                }
            };

            _context.Add(party.ScoreAccount);
            _context.Add(party.WinningAccount);
            _context.Add(party);
            _context.SaveChanges();

            return(party);
        }
 public void Update(PlayerParty player)
 {
     _context.Update(player);
 }