예제 #1
0
 public void addFacultySubject(SubjectFaculty subject)
 {
     model.SubjectFaculty.Add(subject);
     model.SaveChanges();
 }
예제 #2
0
 public void AddFaculty(Faculty faculty)
 {
     model.Faculty.Add(faculty);
     model.SaveChanges();
 }