예제 #1
0
 public CompraService(IUnitOfWork unitOfWork) : base(unitOfWork, unitOfWork.CompraRepository)
 {
     _productoService = new ProductoService(_unitOfWork);
 }
예제 #2
0
 public VentaService(IUnitOfWork unitOfWork) : base(unitOfWork, unitOfWork.VentaRepository)
 {
     _productoService = new ProductoService(_unitOfWork);
 }