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