public bool Autenticar(ISecurity connection) { ((Conexion)connection).Conectar(); return(connection.Autenticar()); }