public static IBrand CrearConexionServicioBrand(Models.ConnectionType type, string connectionString) { IBrand nuevoMotor = null;; switch (type) { case Models.ConnectionType.NONE: break; case Models.ConnectionType.MSSQL: SqlConexion sql = SqlConexion.Conectar(connectionString); nuevoMotor = BrandService.CrearInstanciaSQL(sql); break; case Models.ConnectionType.MYSQL: break; default: break; } return(nuevoMotor); }