public void Update(User v) { _context.Entry(v).State = Microsoft.EntityFrameworkCore.EntityState.Modified; }
public void Update(Note v) { _context.Entry(v).State = EntityState.Modified; }