public void SetupTest()
        {
            hostName = config.HostName.Value;
            key = config.Key.Value;

            context = new PWContext(hostName, key);
        }
Exemple #2
0
        public UserService(
            PWContext context,
            IAccountService accountService

            )
        {
            db = context;
            _accountService = accountService;
        }
Exemple #3
0
 public AuthService(SignInManager <User> signInManager,
                    UserManager <User> userManager,
                    IBalanceService balanceService,
                    PWContext context,
                    IMapper mapper) : base(mapper, context)
 {
     _userManager    = userManager;
     _signInManager  = signInManager;
     _balanceService = balanceService;
 }
 public APIManager(PWContext context)
 {
     this.context = context;
 }
Exemple #5
0
 public GenericDataAccess(PWContext context)
 {
     _context = context;
 }
 public AccountTransactionService(PWContext context)
 {
     db = context;
 }
 public MashupManager(PWContext context)
 {
     this.context = context;
 }
Exemple #8
0
 public DtoService(IMapper mapper, PWContext context) : base(context)
 {
     _mapper = mapper;
 }
Exemple #9
0
 public BalanceService(PWContext context, IMapper mapper) : base(mapper, context)
 {
 }
Exemple #10
0
 public UserService(PWContext context, IMapper mapper) : base(mapper, context)
 {
 }
Exemple #11
0
 public CommonRepository(PWContext pwContext)
 {
     PWContext = pwContext;
 }
Exemple #12
0
 public AccountService(PWContext context, IAccountTransactionService accountTransactionService)
 {
     db = context;
     _accountTransactionService = accountTransactionService;
 }
Exemple #13
0
 public TransactionService(PWContext context, IMapper mapper, IBalanceService balanceService, IHubContext <SignalrHub> hubContext)
     : base(mapper, context)
 {
     _balanceService = balanceService;
     _hubContext     = hubContext;
 }
 public RepositoryManager(PWContext context)
 {
     _context = context;
 }