public PedidoSincronizador(IFarmaciaService farmacia, ISisfarmaService fisiotes) : base(farmacia, fisiotes) { _categoriaRepository = new CategoriaRepository(); _laboratorioRepository = new LaboratorioRepository(); _familiaRepository = new FamiliaRepository(); }
public LaboratorioCommandHandler( IUnitOfWork uow, INotificationHandler <DomainNotification> notifications, ILaboratorioRepository organizadorRepository, IMediatorHandler mediator) : base(uow, mediator, notifications) { _laboratorioRepository = organizadorRepository; _mediator = mediator; }
public EventosController(INotificationHandler <DomainNotification> notifications, IUser user, ILaboratorioRepository laboratorioRepository, IMapper mapper, IMediatorHandler mediator) : base(notifications, user, mediator) { _laboratorioRepository = laboratorioRepository; _mapper = mapper; _mediator = mediator; }
public PedidosRepository( IProveedorRepository proveedorRepository, IFarmacoRepository farmacoRepository, ICategoriaRepository categoriaRepository, IFamiliaRepository familiaRepository, ILaboratorioRepository laboratorioRepository) { _proveedorRepository = proveedorRepository ?? throw new ArgumentNullException(nameof(proveedorRepository)); _farmacoRepository = farmacoRepository ?? throw new ArgumentNullException(nameof(farmacoRepository)); _categoriaRepository = categoriaRepository ?? throw new ArgumentNullException(nameof(categoriaRepository)); _familiaRepository = familiaRepository ?? throw new ArgumentNullException(nameof(familiaRepository)); _laboratorioRepository = laboratorioRepository ?? throw new ArgumentNullException(nameof(laboratorioRepository)); }
public VentasRepository( IClientesRepository clientesRepository, IFarmacoRepository farmacoRepository, ICodigoBarraRepository barraRepository, IProveedorRepository proveedorRepository, ICategoriaRepository categoriaRepository, IFamiliaRepository familiaRepository, ILaboratorioRepository laboratorioRepository) { _clientesRepository = clientesRepository ?? throw new ArgumentNullException(nameof(clientesRepository)); _farmacoRepository = farmacoRepository ?? throw new ArgumentNullException(nameof(farmacoRepository)); _barraRepository = barraRepository ?? throw new ArgumentNullException(nameof(barraRepository)); _proveedorRepository = proveedorRepository ?? throw new ArgumentNullException(nameof(proveedorRepository)); _categoriaRepository = categoriaRepository ?? throw new ArgumentNullException(nameof(categoriaRepository)); _familiaRepository = familiaRepository ?? throw new ArgumentNullException(nameof(familiaRepository)); _laboratorioRepository = laboratorioRepository ?? throw new ArgumentNullException(nameof(laboratorioRepository)); }
public EncargosRepository( IClientesRepository clientesRepository, IProveedorRepository proveedorRepository, IFarmacoRepository farmacoRepository, ICategoriaRepository categoriaRepository, IFamiliaRepository familiaRepository, ILaboratorioRepository laboratorioRepository, IVendedoresRepository vendedoresRepository) { _clientesRepository = clientesRepository ?? throw new ArgumentNullException(nameof(clientesRepository)); _proveedorRepository = proveedorRepository ?? throw new ArgumentNullException(nameof(proveedorRepository)); _farmacoRepository = farmacoRepository ?? throw new ArgumentNullException(nameof(farmacoRepository)); _categoriaRepository = categoriaRepository ?? throw new ArgumentNullException(nameof(categoriaRepository)); _familiaRepository = familiaRepository ?? throw new ArgumentNullException(nameof(familiaRepository)); _laboratorioRepository = laboratorioRepository ?? throw new ArgumentNullException(nameof(laboratorioRepository)); _vendedoresRepository = vendedoresRepository ?? throw new ArgumentNullException(nameof(vendedoresRepository)); }
public VentasRepository( IClientesRepository clientesRepository, ITicketRepository ticketRepository, IVendedoresRepository vendedoresRepository, IFarmacoRepository farmacoRepository, ICodigoBarraRepository barraRepository, IProveedorRepository proveedorRepository, ICategoriaRepository categoriaRepository, IFamiliaRepository familiaRepository, ILaboratorioRepository laboratorioRepository) { _clientesRepository = clientesRepository ?? throw new ArgumentNullException(nameof(clientesRepository)); _ticketRepository = ticketRepository ?? throw new ArgumentNullException(nameof(ticketRepository)); _farmacoRepository = farmacoRepository ?? throw new ArgumentNullException(nameof(farmacoRepository)); _barraRepository = barraRepository ?? throw new ArgumentNullException(nameof(barraRepository)); _proveedorRepository = proveedorRepository ?? throw new ArgumentNullException(nameof(proveedorRepository)); _categoriaRepository = categoriaRepository ?? throw new ArgumentNullException(nameof(categoriaRepository)); _familiaRepository = familiaRepository ?? throw new ArgumentNullException(nameof(familiaRepository)); _laboratorioRepository = laboratorioRepository ?? throw new ArgumentNullException(nameof(laboratorioRepository)); _vendedoresRepository = vendedoresRepository ?? throw new ArgumentNullException(nameof(vendedoresRepository)); //FILE_LOG = System.Configuration.ConfigurationManager.AppSettings["Directory.Logs"] + @"Ventas.logs"; }
public LaboratorioService() { laboratorioRepo = new LaboratorioRepository(); }
public LaboratorioController(ILaboratorioRepository ordenes) { Laboratorios = ordenes; }