public void Update(UIPathStudent student) { _context.Entry(student).State = Microsoft.EntityFrameworkCore.EntityState.Modified; _context.SaveChanges(); }
public void Add(UIPathStudent student) { _context.UIPathStudents.Add(student); _context.SaveChanges(); }