public void Update(Wsmy501 entity) { _context.Wsmy501.Update(entity).Property(x => x.Id).IsModified = false; }
public async Task Delete(string id) { Wsmy501 entity = await GetByCotizacion(id); _context.Wsmy501.Remove(entity); }
public async Task Add(Wsmy501 entity) { await _context.Wsmy501.AddAsync(entity); }