예제 #1
0
 public void InsertСandidate(Сandidate candidate)
 {
     context.Сandidate.Add(candidate);
 }
예제 #2
0
 public void UpdateСandidate(Сandidate candidate)
 {
     context.Entry(candidate).State = EntityState.Modified;
 }