public QuotesController(IConfiguration configuration) { this._configuration = configuration; this._objDataHelper = new MySQLGateway(this._configuration.GetConnectionString("Connection")); }
public TaxController(IConfiguration configuration, IHostingEnvironment env) { this._configuration = configuration; this._env = env; this._objDataHelper = new MySQLGateway(this._configuration.GetConnectionString("Connection")); }
public AccessControlMiddleware(RequestDelegate next, string connectionString) { this._dB = new MySQLGateway(connectionString); this._helper = new CommonHelper(); _next = next; }