public IQueryable <T> ConsultarTodos() { return(context.Set <T>()); }
public void Delete(T entity) { _context.Set <T>().Remove(entity); _context.SaveChanges(); }