public UnitOfWork(CalculatorDbContext calculatorDbContext, IUserRepository userRepository, ICalculationHistoryRepository calculationHistoryRepository) { this.calculatorDbContext = calculatorDbContext; UserRepository = userRepository; CalculationHistoryRepository = calculationHistoryRepository; }
public UserRepository(CalculatorDbContext calculatorDbContext) : base(calculatorDbContext) { }
public CalculationHistoryRepository(CalculatorDbContext calculatorDbContext) : base(calculatorDbContext) { }