public static BrandService CrearInstanciaMySQL(MySqlConexion mysql) { BrandService log = new BrandService { mysql = mysql, type = ConnectionType.MYSQL }; return(log); }
public static BrandService CrearInstanciaSQL(SqlConexion sql) { BrandService log = new BrandService { sql = sql, type = ConnectionType.MSSQL }; return(log); }