public BaseRepository(DemoContext context)
 {
     _context = context;
 }
Exemplo n.º 2
0
 public CustomerRepository(DemoContext dbContext, ILogger <CustomerRepository> logger) : base(dbContext)
 {
     _db  = dbContext;
     _log = logger;
 }
 public AddressRepository(DemoContext dbContext, ILogger <AddressRepository> logger) : base(dbContext)
 {
     _db  = dbContext;
     _log = logger;
 }