예제 #1
0
 public UnitOfWork(CalculatorDbContext calculatorDbContext,
                   IUserRepository userRepository,
                   ICalculationHistoryRepository calculationHistoryRepository)
 {
     this.calculatorDbContext     = calculatorDbContext;
     UserRepository               = userRepository;
     CalculationHistoryRepository = calculationHistoryRepository;
 }
예제 #2
0
 public UserRepository(CalculatorDbContext calculatorDbContext) : base(calculatorDbContext)
 {
 }
예제 #3
0
 public CalculationHistoryRepository(CalculatorDbContext calculatorDbContext) : base(calculatorDbContext)
 {
 }