예제 #1
0
 public AccountService(
     IStoredProcedureService storedProcedure,
     RandomMaker randomMaker,
     Cryptograph cryptograph,
     IAccountProfileService accountProfileService,
     IAccountDeviceService accountDeviceService,
     JwtHandler jwtHandler)
 {
     _storedProcedure       = storedProcedure;
     _randomMaker           = randomMaker;
     _cryptograph           = cryptograph;
     _accountProfileService = accountProfileService;
     _accountDeviceService  = accountDeviceService;
     _jwtHandler            = jwtHandler;
 }
 public AccountDeviceServiceUnitTest()
 {
     _accountDeviceService = ServiceLocator.Current.GetInstance <IAccountDeviceService>();
     _randomMaker          = ServiceLocator.Current.GetInstance <RandomMaker>();
 }