Ejemplo n.º 1
0
 public BangKiemRepo(IConfiguration config, ILogger <BangKiemRepo> logger, ILoggerFactory logFactory, IOptions <Startup.ConnectionStrings> connectionStrings)
 {
     //_config = config;
     _logger            = logger;
     _connectionStrings = connectionStrings.Value;
     _logger            = logFactory.CreateLogger <BangKiemRepo>();
 }
Ejemplo n.º 2
0
 public BenhNhanRepo(IConfiguration config, IOptions <Startup.ConnectionStrings> connectionStrings)
 {
     //_config = config;
     _connectionStrings = connectionStrings.Value;
 }
Ejemplo n.º 3
0
 public BaoCaoRepo(Startup.ConnectionStrings connectionStrings)
 {
     _connectionStrings = connectionStrings;
 }