public async Task UpdateAsync(TaskChangeEntity taskChange) { _context.Entry(taskChange).State = EntityState.Modified; await _context.SaveChangesAsync(); }
public async Task InsertAsync(TaskChangeEntity taskChange) { await _context.AddAsync(taskChange); await _context.SaveChangesAsync(); }