Exemple #1
0
 public void AddDebate(Debate debate)
 {
     db.Debate.Add(debate);
 }
Exemple #2
0
 public void UpdateDebate(Debate debate)
 {
     db.Entry(debate).State = EntityState.Modified;
 }
Exemple #3
0
        public Debate FindDebate(int?debateId)
        {
            Debate debate = db.Debate.Find(debateId);

            return(debate);
        }