public CalculadoraController(calculadoradbContext context, ICalculatorRepository repo, IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _repo = repo; _context = context; }
public UnitOfWork(calculadoradbContext context) { _context = context; Operaciones = new CalculatorRepository(_context); }
public CalculatorRepository(calculadoradbContext context) : base(context) { _context = context; }
public GenericRepository(calculadoradbContext context) { _entities = context.Set <T>(); _context = context; }