Example #1
0
 public CountryRepository(ApplicDbContext.DatabaseContext dbContext, ILogger <CountryRepository> logger)
 {
     _dbContext = dbContext;
     _logger    = logger;
 }
        //private string dbgPref = "Debug level from JPVA: ";
        //private string infoPref = "Info level from JPVA: ";
        //private string warnPref = "Warning level from JPVA: ";
        //private string errPref = "Error level from JPVA: ";

        public InvoiceRepository(ApplicDbContext.DatabaseContext dbContext, ILogger <ClientRepository> logger)
        {
            _dbContext = dbContext;
            _logger    = logger;
        }