Ejemplo n.º 1
0
 public void Deletar <T>(T entity) where T : class
 {
     _context.Remove(entity);
 }
Ejemplo n.º 2
0
 public async Task <bool> Delete <T>(T entity) where T : class
 {
     return((await _context.Remove(entity)) > 0);
 }