public MySqlLocalRepository(SalesDbContext context) { this.context = context; }
public MySqlData(string password) { this.context = new SalesDbContext(string.Format(ConnectionString, password)); this.repository = new MySqlLocalRepository(this.context); }