public void Delete(Grade itemToDelete) { _context.Grades.Remove(itemToDelete); }
public Grade Update(Grade itemToUpdate) { _context.Entry(itemToUpdate).State = EntityState.Modified; return itemToUpdate; }
public Grade Create(Grade itemToCreate) { return _context.Grades.Add(itemToCreate); }