Exemplo n.º 1
0
 //TODO: remove after DI install
 public UserRepository()
 {
     _context = new TelecommunicationNetworkSimulatorContext();
 }
Exemplo n.º 2
0
 //TODO: for DI
 public UserRepository(TelecommunicationNetworkSimulatorContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }