public IniciarOrdenProduccionViewModel(ILineaTrabajoService lineaTrabajoService, IOrdenProduccionService ordenProduccionService, IColorService colorService, IModeloService modeloService, ITurnoService turnoService) { _lineaTrabajoService = lineaTrabajoService; _ordenProduccionService = ordenProduccionService; _colorService = colorService; _modeloService = modeloService; _turnoService = turnoService; if (_turnoService.PuedeOperar(DateTime.Now.TimeOfDay) && !Settings.Default.Usuario.EstaAsignado) { ActualizarListaLineas(); } else if (!_turnoService.PuedeOperar(DateTime.Now.TimeOfDay)) { MostrarMensaje("Mensaje de advertencia", "El turno ya finalizó, la operación no se pudo realizar", "Aceptar"); } else { MostrarMensaje("Mensaje de advertencia", "Usted ya se encuentra asignado a otra orden de producción.", "Aceptar"); } SelectCommand = new Command(OnSelectCommand); IniciarCommand = new Command(OnIniciarCommand); }
public VeiculoService(IVeiculoRepository veiculoRepository, ICategoriaService categoriaService, IModeloService modeloService, IMapper mapper) { _veiculoRepository = veiculoRepository; _categoriaService = categoriaService; _modeloService = modeloService; _mapper = mapper; }
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; }
public ModeloController(IModeloService modeloService, IModeloRepository modeloRepository, IMapper mapper, INotifier notifier) : base(notifier) { _modeloService = modeloService; _modeloRepository = modeloRepository; _mapper = mapper; }
public ModelosViewModel(IModeloService modelosService) { _modelosService = modelosService; ActualizarListadoModelos(); NuevoModelo(); CreateCommand = new Command(OnCreateClicked); EditCommand = new Command(OnEditClicked); DeleteCommand = new Command(OnDeleteCommand); CancelCommand = new Command(OnCancelClicked); }
public CaminhaoController(ICaminhaoService caminhaoService, ICaminhaoRepository caminhaoRepository, IModeloService modeloService, IMapper mapper, INotifier notifier) : base(notifier) { _caminhaoService = caminhaoService; _caminhaoRepository = caminhaoRepository; _modeloService = modeloService; _mapper = mapper; }
public void Setup() { MapperConfig.RegisterMappings(); _dataContext = new DataContext(); _modeloRepository = new ModeloRepository(_dataContext); _modeloService = new ModeloService(_modeloRepository); _testHelper = new TestHelper(_dataContext); _dataContext.Database.BeginTransaction(); }
public TestHelper(DataContext context) { MapperConfig.RegisterMappings(); _userRepository = new UserRepository(context); _userService = new UserService(_userRepository); _marcaRepository = new MarcaRepository(context); _marcaService = new MarcaService(_marcaRepository); _modeloRepository = new ModeloRepository(context); _modeloService = new ModeloService(_modeloRepository); _anuncioRepository = new AnuncioRepository(context); _anuncioService = new AnuncioService(_anuncioRepository); _mockBuilder = new MockBuilder(); }
public ModeloSeviceTest() { logger = new Mock <ILogger>(); var mapperConfig = new MapperConfiguration(config => { config.AddProfile <AutomapperConfig>(); }); mapperMemory = mapperConfig.CreateMapper(); _contextMemory = InMemoryContextFactory.Create(); this._notificadorMemory = new Notificador(); this._repositoryMemory = new ModeloRepository(_contextMemory); this._serviceMemory = new ModeloService(_notificadorMemory, _repositoryMemory, mapperMemory, logger.Object); ConfigInMemory(); }
public ModelosController(IModeloService _service, IMapper _mapper) : base(_service, _mapper, "Marca") { }
public CaminhaoService(IConfiguration configuration, ICaminhaoRepository caminhaoRepository, IModeloService modeloService) { _configuration = configuration; _caminhaoRepository = caminhaoRepository; _modeloService = modeloService; }
public ModelosController(IModeloService modeloService, IMapper mapper, IUriService uriService) { _modeloService = modeloService; _mapper = mapper; _uriService = uriService; }
public ModeloAppService(IModeloService modeloService) : base(modeloService) { _modeloService = modeloService; }
public ModeloApplication(IModeloService service) : base(service) { }
public ModeloController(IModeloService serv, IModeloAtributoService servModAtr) { _serv = serv; _servModAtr = servModAtr; }
public ModeloController(IModeloService modeloService) : base(modeloService) { }
public CarregarModelosUseCase(IModeloService modeloService, IMapper mapper) { this.ModeloService = modeloService; this.Mapper = mapper; }
public ModeloController(IModeloService modeloService) { _modeloService = modeloService; }
public ModeloController(IModeloService service) { this.service = service; }
public CablemodemModeloController(ICablemodemService cablemodemService, IModeloService modeloService) { this.cablemodemService = cablemodemService; this.modeloService = modeloService; }
public ModeloController(IMapper mapper, IModeloService service) { _mapper = mapper; _service = service; }
public ModeloController(IModeloService service) { this.service = service; }
public ModeloController(IModeloService ModeloService) { _ModeloService = ModeloService; }
public ModelosController(IMapper mapper, IModeloService modeloService) { this._modeloService = modeloService; this._mapper = mapper; }