Esempio n. 1
0
 public ProduccionesController(
     IProduccionRepository produccionRepository,
     IPedidoRepository pedidoRepository,
     IUserHelper userHelper,
     IConverterHelper converterHelper,
     ICombosHelper combosHelper,
     IInsumoUsadoRepository insumoUsadoRepository,
     IDeshechoRepository deshechoRepository,
     IResultadoRepository resultadoRepository)
 {
     this.produccionRepository  = produccionRepository;
     this.pedidoRepository      = pedidoRepository;
     this.userHelper            = userHelper;
     this.converterHelper       = converterHelper;
     this.combosHelper          = combosHelper;
     this.insumoUsadoRepository = insumoUsadoRepository;
     this.deshechoRepository    = deshechoRepository;
     this.resultadoRepository   = resultadoRepository;
 }
Esempio n. 2
0
 public ConverterHelper(
     DataContext dataContext,
     ICombosHelper combosHelper,
     IFaseRepository faseRepository,
     IEmpleadoProduccionRepository empleadoProduccionRepository,
     IUserHelper userHelper,
     IPedidoRepository pedidoRepository,
     IInsumoRepository insumoRepository,
     IProduccionRepository produccionRepository)
 {
     _dataContext        = dataContext;
     _combosHelper       = combosHelper;
     this.faseRepository = faseRepository;
     this.empleadoProduccionRepository = empleadoProduccionRepository;
     this.userHelper           = userHelper;
     this.pedidoRepository     = pedidoRepository;
     this.insumoRepository     = insumoRepository;
     this.produccionRepository = produccionRepository;
 }
 public ProduccionServices()
 {
     prodres = new ProduccionRepository();
 }