public AutherService(ISRMContext _Context, ILDAPService _LDAPService, IRunningNoService _runningNoService, IEncryptionService _encryptionService) { Context = _Context; LDAPService = _LDAPService; RunningNoService = _runningNoService; EncryptionService = _encryptionService; }
public RunningNoServiceTest() { var Option = new DbContextOptionsBuilder <SRM_DEVContext>().UseInMemoryDatabase(databaseName: "MyDb").Options; Context = new SRM_DEVContext(Option); RunningTypeService = new Mock <IRunningTypeService>(MockBehavior.Strict); }
public RunningTypeServiceTest() { var Option = new DbContextOptionsBuilder <SRM_DEVContext>().UseInMemoryDatabase(databaseName: "MyDb").Options; Context = new SRM_DEVContext(Option); Mockdata(); }
public AutherServiceTest() { var Option = new DbContextOptionsBuilder <SRMContext>().UseInMemoryDatabase(databaseName: "MyDb").Options; Context = new SRMContext(Option); InterfaceAuther(); MockDataToDB(); }
public RunningNoService(ISRMContext context) { Context = context; }
public RunningTypeService(ISRMContext _context) { Context = _context; }
public LDAPServiceTest() { var Option = new DbContextOptionsBuilder <SRMContext>().UseInMemoryDatabase(databaseName: "MyDb").Options; Context = new SRMContext(Option); }
public RunningNoService(ISRMContext _context, IRunningTypeService _runningTypeService) { Context = _context; RunningTypeService = _runningTypeService; }