public void DeleteSubject(SubjectEntity entry) { _databaseSession.Context.Subjects.Remove(entry); _databaseSession.Context.SaveChanges(); }
public void AddSubject(SubjectEntity entry) { _databaseSession.Context.Subjects.Add(entry); _databaseSession.Context.SaveChanges(); }