예제 #1
0
 public void RemoveCandidateFromParty(PartyCandidate partycandiate)
 {
     _db.PartyCandidates.Remove(partycandiate);
 }
예제 #2
0
 public async Task AddCandidateToPartyAsync(PartyCandidate partycandidate)
 {
     await _db.PartyCandidates.AddAsync(partycandidate);
 }