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