public int Insert(Room ro)
 {
     db.Rooms.Add(ro);
     return(db.SaveChanges());
 }
 public int Insert(Section sa)
 {
     db.Sections.Add(sa);
     return(db.SaveChanges());
 }
예제 #3
0
 public int Insert(MakeRoutine mk)
 {
     db.MakeRoutines.Add(mk);
     return(db.SaveChanges());
 }
예제 #4
0
 public int Insert(Faculty fa)
 {
     db.Faculties.Add(fa);
     return(db.SaveChanges());
 }
예제 #5
0
 public int Insert(Admin ad)
 {
     db.Admins.Add(ad);
     return(db.SaveChanges());
 }
 public int Insert(Course fa)
 {
     db.Courses.Add(fa);
     return(db.SaveChanges());
 }