public AccountService(IUserRepository userRepository, BudgetSquirrelContext context, ICryptor cryptor, GateKeeperConfig gateKeeperConfig)
 {
     this.userRepository   = userRepository;
     this.context          = context;
     this.cryptor          = cryptor;
     this.gateKeeperConfig = gateKeeperConfig;
 }
 public AuthService(BudgetSquirrelContext dbConext, ICryptor cryptor, GateKeeperConfig gateKeeperConfig, IHttpContextAccessor httpContextAccessor)
 {
     this.dbConext            = dbConext;
     this.cryptor             = cryptor;
     this.gateKeeperConfig    = gateKeeperConfig;
     this.httpContextAccessor = httpContextAccessor;
 }
 public UnitOfWork(
     IRepository <Budget> budgetRepository,
     IRepository <BudgetDurationBase> budgetDurationRepository,
     IRepository <BudgetPeriod> budgetPeriodRepository,
     IRepository <Fund> fundRepository,
     BudgetSquirrelContext dbContext)
 {
     this.budgetRepository         = budgetRepository;
     this.budgetDurationRepository = budgetDurationRepository;
     this.budgetPeriodRepository   = budgetPeriodRepository;
     this.fundRepository           = fundRepository;
     this.dbContext = dbContext;
 }
Esempio n. 4
0
 public BudgetDurationRepository(BudgetSquirrelContext context)
     : base(context)
 {
     this.context = context;
 }
 public DefaultRepository(BudgetSquirrelContext context)
 {
     this.context = context;
 }
 public UserRepository(BudgetSquirrelContext dbContext)
 {
     this.dbContext = dbContext;
 }