Exemplo n.º 1
0
 public void Update(Wsmy583 entity)
 {
     _context.Wsmy583.Update(entity).Property(x => x.Id).IsModified = false;;
 }
Exemplo n.º 2
0
        public async Task Delete(int id)
        {
            Wsmy583 entity = await GetById(id);

            _context.Wsmy583.Remove(entity);
        }
Exemplo n.º 3
0
 public async Task Add(Wsmy583 entity)
 {
     await _context.Wsmy583.AddAsync(entity);
 }