Exemplo n.º 1
0
 public FrmCatalogoArticulo()
 {
     InitializeComponent();
     IApplicationContext ctx = ContextRegistry.GetContext();
     ArticuloService = ctx["articuloService"] as IArticuloService;
     EnlaceDatos();
     InicializarListas();
 }
 public ArticuloControllerIntegrationTest()
 {
     repositorio              = new RepositorioArticulo();
     service                  = new ArticuloService(repositorio);
     controller               = new ArticuloController(service);
     controller.Request       = new HttpRequestMessage();
     controller.Configuration = new HttpConfiguration();
 }
Exemplo n.º 3
0
        public HomeController(IArticuloService articuloService,
                              IArticuloManager articuloManager
                              )
        {
            _articuloService = articuloService;

            _articuloManager = articuloManager;
        }
 public ArticulosController(IArticuloService articuloService, IColorService colorService, IModeloService modeloService, IMarcaService marcaService, ICategoriaService categoriaService, IMapper mapper)
 {
     this._articuloService  = articuloService;
     this._colorService     = colorService;
     this._modeloService    = modeloService;
     this._marcaService     = marcaService;
     this._categoriaService = categoriaService;
     this._mapper           = mapper;
 }
Exemplo n.º 5
0
        public ArticuloManager(IArticuloService articuloService
                               , ITipoService tipoService
                               , ITagService tagService)
        {
            _articuloService = articuloService;

            _tipoService = tipoService;

            _tagService = tagService;
        }
Exemplo n.º 6
0
 public void Dispose()
 {
     usuarioService      = null;
     sedeService         = null;
     proveedorService    = null;
     areaService         = null;
     unidadMedidaService = null;
     articuloService     = null;
     documentoService    = null;
     empresaService      = null;
     bancoService        = null;
 }
Exemplo n.º 7
0
 public ServiceAlmacen()
 {
     this.usuarioService      = new UsuarioService();
     this.sedeService         = new SedeService();
     this.proveedorService    = new ProveedorService();
     this.areaService         = new AreaService();
     this.unidadMedidaService = new UnidadMedidaService();
     this.articuloService     = new ArticuloService();
     this.documentoService    = new DocumentoService();
     this.empresaService      = new EmpresaService();
     this.puestoService       = new PuestoService();
     this.bancoService        = new BancoService();
 }
Exemplo n.º 8
0
 public ArticuloController(IArticuloService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IArticuloApiConsumer ArticuloApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISpartan_FormatApiConsumer Spartan_FormatApiConsumer, ISpartan_Format_PermissionsApiConsumer Spartan_Format_PermissionsApiConsumer, IGeneratePDFApiConsumer GeneratePDFApiConsumer, ISpartan_Format_RelatedApiConsumer Spartan_Format_RelatedApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._IArticuloApiConsumer       = ArticuloApiConsumer;
     this._userCredential             = SessionHelper.UserCredential;
     this._tokenManager = tokenManager;
     this._ISpartane_FileApiConsumer                   = Spartane_FileApiConsumer;
     this._ISpartan_Business_RuleApiConsumer           = Spartan_Business_RuleApiConsumer;
     this._ISpartan_BR_Process_Event_DetailApiConsumer = Spartan_BR_Process_Event_DetailApiConsumer;
     this._ISpartan_FormatApiConsumer                  = Spartan_FormatApiConsumer;
     this._ISpartan_Format_PermissionsApiConsumer      = Spartan_Format_PermissionsApiConsumer;
     this._IGeneratePDFApiConsumer           = GeneratePDFApiConsumer;
     this._ISpartan_FormatRelatedApiConsumer = Spartan_Format_RelatedApiConsumer;
 }
Exemplo n.º 9
0
 public ProductoService(IProductoQuerying productoQuerying, IArticuloService articuloService, ICapituloService capituloService,
     ILibroService libroService, IReporteService reporteService, IResenaService resenaService, IObraTraducidaService obraTraducidaService,
     IProyectoService proyectoService, ICursoService cursoService, ITesisDirigidaService tesisDirigidaService, IDictamenService dictamenService,
     IOrganoExternoService organoExternoService, IEventoService eventoService, IParticipacionMedioService participacionMedioService)
 {
     this.productoQuerying = productoQuerying;
     this.articuloService = articuloService;
     this.capituloService = capituloService;
     this.libroService = libroService;
     this.reporteService = reporteService;
     this.resenaService = resenaService;
     this.obraTraducidaService = obraTraducidaService;
     this.proyectoService = proyectoService;
     this.cursoService = cursoService;
     this.tesisDirigidaService = tesisDirigidaService;
     this.dictamenService = dictamenService;
     this.organoExternoService = organoExternoService;
     this.eventoService = eventoService;
     this.participacionMedioService = participacionMedioService;
 }
Exemplo n.º 10
0
 public ValuesController(
     IArticuloService articuloService
     )
 {
     this.articuloService = articuloService;
 }
 public VentasController(IMapper mapper, IArticuloService articuloService, IVentaService ventaService)
 {
     this._mapper          = mapper;
     this._articuloService = articuloService;
     this._ventaService    = ventaService;
 }
 public ArticulosController(IArticuloService ArticuloService)
 {
     this.ArticuloService = ArticuloService;
 }
Exemplo n.º 13
0
 public ArticuloController(DataContext contex, IArticuloService articuloService)
 {
     _contex = contex;
     this._articuloService = articuloService;
 }
Exemplo n.º 14
0
 public ArticuloController(ILogger logger, IArticuloService articuloService)
     : base(logger)
 {
     _articuloService = articuloService;
 }
 public ArticuloController(IArticuloService service)
 {
     _service = service;
     SetDependences();
 }