Exemple #1
0
 public void UpdateSubject(DBModels.Subject subject)
 {
     context.Entry(subject).State = EntityState.Modified;
 }
Exemple #2
0
 public void InsertSubject(DBModels.Subject subject)
 {
     context.Subjects.Add(subject);
 }