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