Beispiel #1
0
        public Model.Party AddSongToParty(int partyId, string songId)
        {
            var party = FakePartyDb.GetParty(partyId);

            party.SongList.Add(songId);
            hostService.SendMessage(party.HostId, $"add:{songId}");

            return(party);
        }
Beispiel #2
0
 public Model.Party GetParty(int partyId)
 {
     return(FakePartyDb.GetParty(partyId));
 }