Beispiel #1
0
 public CotizacionProductoController(ICotizacionService Service, ICotizacionMap map, IUserService userService, IMonedaService monedaService)
 {
     _Service       = Service;
     _Map           = map;
     _UserService   = userService;
     _MonedaService = monedaService;
 }
Beispiel #2
0
 ///<summary>
 ///</summary>
 public FrmCotizacion()
 {
     InitializeComponent();
     var ctx = ContextRegistry.GetContext();
     CotizacionService = ctx["cotizacionService"] as ICotizacionService;
     this.BindearDetalle();
     this.Nuevo();
 }
Beispiel #3
0
 public AppGeneralQuotesService(IUnitOfWork unitOfWork,
                                IOptions <PaginationOptions> options,
                                IMapper mapper,
                                IOfdCotizacionService ofdCotizacionService,
                                IMtrClienteService mtrClienteService,
                                IAppDetailQuotesService appDetailQuotesService,
                                ICotizacionService cotizacionService
                                )
 {
     _unitOfWork             = unitOfWork;
     _mapper                 = mapper;
     _ofdCotizacionService   = ofdCotizacionService;
     _mtrClienteService      = mtrClienteService;
     _appDetailQuotesService = appDetailQuotesService;
     _cotizacionService      = cotizacionService;
     _paginationOptions      = options.Value;
 }
Beispiel #4
0
        public MonedaService(MonedaType monedaType)
        {
            switch (monedaType)
            {
            case MonedaType.Dolar:
                _cotizacionMethod = new CotizacionDolarService();
                break;

            case MonedaType.Real:
                _cotizacionMethod = new CotizacionRealService();
                break;

            case MonedaType.Peso:
                _cotizacionMethod = new CotizacionPesoService();
                break;
            }
        }
Beispiel #5
0
 public void TestSetup()
 {
     cotizacionService = FactoryIoC.Container.Resolve <CotizacionService>();
 }
 public CotizacionController(ICotizacionService curencyService)
 {
     _currencyService = curencyService;
 }
Beispiel #7
0
 public CotizacionesController(ICotizacionService cotizacionService)
 {
     this.cotizacionService = cotizacionService;
 }
 public CotizacionController(ICotizacionService cotizacionService)
 {
     _cotizacionService = cotizacionService;
 }
Beispiel #9
0
 public AppGeneralQuotesController(IAppGeneralQuotesService appGeneralQuotesService,
                                   ICotizacionService cotizacionService)
 {
     _appGeneralQuotesService = appGeneralQuotesService;
     _cotizacionService       = cotizacionService;
 }
 public CotizacionMap(ICotizacionService service)
 {
     _Service = service;
 }