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