示例#1
0
 public void Update(UIPathStudent student)
 {
     _context.Entry(student).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
     _context.SaveChanges();
 }
示例#2
0
 public void Add(UIPathStudent student)
 {
     _context.UIPathStudents.Add(student);
     _context.SaveChanges();
 }