Esempio n. 1
0
        }                                             // I give up.

        public Provider(
            IAuthorizationService authorization,
            ILoggingService log,
            IControlService control,
            IDataService data,
            IBillingService billing,
            IInventoryService inventory,
            IOrderingService ordering,
            IStoreService store,
            IMailService mail,
            IPhysicalAccessService physicalAccess,
            ISchedulerService scheduler,
            IFeedbackService feedback,
            IReportingService reporting,
            IWorkerService worker,
            IProviderUtility utility,
            IDataAccessService dataAccess)
        {
            Authorization  = authorization;
            Log            = log;
            Control        = control;
            Data           = data;
            Billing        = billing;
            Inventory      = inventory;
            Ordering       = ordering;
            Store          = store;
            Mail           = mail;
            PhysicalAccess = physicalAccess;
            Scheduler      = scheduler;
            Feedback       = feedback;
            Reporting      = reporting;
            Worker         = worker;
            Utility        = utility;
            DataAccess     = dataAccess;
        }
Esempio n. 2
0
        public Biller instantiate()
        {
            IBillingService svc = instantiateBillingSubsystem();

            var biller = new Biller(config, getTransactionDatabase(), svc, getLogger(), getHelp(), getMapper(), getCurrencyManager());

            return(biller);
        }
        public ServiceSelector()
        {
            _container = new WindsorContainer();
            _container.Install(
                new ServiceInstaller()
                );

            _billingService = _container.Resolve <IBillingService>();
        }
 public PaymentTransactionService(
     IPaymentTransactionRepository paymentTransactionRepository,
     IBillingService billingService,
     ITransactionTransferService transactionTransferService)
 {
     _paymentTransactionRepository = paymentTransactionRepository;
     _billingService = billingService;
     _transactionTransferService = transactionTransferService;
 }
 public SettlementController(ISettlementService settlementService, ICustomerService customerService
                             , IInStorageService inStorageService, IBillingService billingService, IWorkContext workContext)
 {
     _settlementService = settlementService;
     _customerService   = customerService;
     _inStorageService  = inStorageService;
     _billingService    = billingService;
     _workContext       = workContext;
 }
        public ServiceSelector()
        {
            _container = new WindsorContainer();
            _container.Install(
                new ServiceInstaller()
            );

            _billingService = _container.Resolve<IBillingService>();
        }
 public BillingModule(IBillingService billingService)
     : base("/billing")
 {
     Get["/{id}"] = parameters =>
     {
         Bill result = billingService.Get(parameters.id);
         return Response.AsJson(result);
     };
 }
 public PaymentTransactionService(
     IPaymentTransactionRepository paymentTransactionRepository,
     IBillingService billingService,
     ITransactionTransferService transactionTransferService)
 {
     _paymentTransactionRepository = paymentTransactionRepository;
     _billingService             = billingService;
     _transactionTransferService = transactionTransferService;
 }
Esempio n. 9
0
 public Biller (InventoryDatabase db, TransactionDatabase tDb, IBillingService billingSubsystem, ILogger logger, HelpCentre help, ProductIdRemapper remapper) {
     this.InventoryDatabase = db;
     this.transactionDatabase = tDb;
     this.billingSubsystem = billingSubsystem;
     this.logger = logger;
     logger.prefix = "UnibillBiller";
     this.help = help;
     this.Errors = new List<UnibillError> ();
     this.remapper = remapper;
 }
Esempio n. 10
0
 public CheckoutControllerTests()
 {
     this.billingService  = Substitute.For <IBillingService>();
     this.deliveryService = Substitute.For <IDeliveryService>();
     this.orderService    = Substitute.For <IOrderService>();
     this.controller      = Substitute.For <CheckoutController>(
         this.billingService,
         this.orderService,
         this.deliveryService);
     this.fixture = new Fixture();
 }
Esempio n. 11
0
        public Biller (UnibillConfiguration config, TransactionDatabase tDb, IBillingService billingSubsystem, ILogger logger, HelpCentre help, ProductIdRemapper remapper, CurrencyManager currencyManager) {
            this.InventoryDatabase = config;
            this.transactionDatabase = tDb;
            this.billingSubsystem = billingSubsystem;
            this.logger = logger;
            logger.prefix = "UnibillBiller";
            this.help = help;
            this.Errors = new List<UnibillError> ();
            this.remapper = remapper;
			this.currencyManager = currencyManager;
        }
Esempio n. 12
0
 public CheckoutFormModel(IBasketService basketService,
                          IBasketViewModelService basketViewModelService,
                          SignInManager <ApplicationUser> signInManager,
                          IOrderService orderService,
                          IBillingService billingService)
 {
     _basketService          = basketService;
     _signInManager          = signInManager;
     _orderService           = orderService;
     _billingService         = billingService;
     _basketViewModelService = basketViewModelService;
 }
Esempio n. 13
0
 public Biller(UnibillConfiguration config, TransactionDatabase tDb, IBillingService billingSubsystem, ILogger logger, HelpCentre help, ProductIdRemapper remapper, CurrencyManager currencyManager)
 {
     this.InventoryDatabase   = config;
     this.transactionDatabase = tDb;
     this.billingSubsystem    = billingSubsystem;
     this.logger          = logger;
     logger.prefix        = "UnibillBiller";
     this.help            = help;
     this.Errors          = new List <UnibillError> ();
     this.remapper        = remapper;
     this.currencyManager = currencyManager;
 }
Esempio n. 14
0
 public IFSDocsN4Process(IBdConsulta1Service iBdConsultaService, IBdSolicitudServicioService iBdSolicitudServicioService, IN4Service iN4Service,
                         IBillingService iBillingService, IIFSService iIFSService,
                         IMappingService iMappingService, ILogService iLogService)
 {
     steps = new List <IStep>();
     this._IBdConsulta1Service         = iBdConsultaService;
     this._IBdSolicitudServicioService = iBdSolicitudServicioService;
     this._IN4Service      = iN4Service;
     this._IBillingService = iBillingService;
     this._IIFSService     = iIFSService;
     this._IMappingService = iMappingService;
     this._ILogService     = iLogService;
 }
        public CheckoutController(
            IBillingService billingService,
            IOrderService orderService,
            IDeliveryService deliveryService)
        {
            Assert.ArgumentNotNull(billingService, nameof(billingService));
            Assert.ArgumentNotNull(orderService, nameof(orderService));
            Assert.ArgumentNotNull(deliveryService, nameof(deliveryService));

            this.billingService  = billingService;
            this.orderService    = orderService;
            this.deliveryService = deliveryService;
        }
Esempio n. 16
0
 public CheckoutController(IUserProfileService userProfileService, IOrderService orderService,
                           IOfferService offerService, IAccountInfoService accountInfoService,
                           IOrderStatusService orderStatusService, IBillingService billingService,
                           ITransactionService transactionService, IIdentityMessageService identityMessageService, IWithdrawService withdrawService)
 {
     _orderStatusService     = orderStatusService;
     _userProfileService     = userProfileService;
     _orderService           = orderService;
     _offerService           = offerService;
     _accountInfoService     = accountInfoService;
     _billingService         = billingService;
     _transactionService     = transactionService;
     _identityMessageService = identityMessageService;
     _withdrawService        = withdrawService;
 }
Esempio n. 17
0
 public BillingController(IBillingService billingService,
                          ICustomerService customerService,
                          IFreightService freightService,
                          IFeeManageService feeManageService,
                          ICountryService countryService,
                          IGoodsTypeService goodsTypeService,
                          IWorkContext workContext)
 {
     _billingService   = billingService;
     _feeManageService = feeManageService;
     _goodsTypeService = goodsTypeService;
     _countryService   = countryService;
     _workContext      = workContext;
     _freightService   = freightService;
     _customerService  = customerService;
 }
Esempio n. 18
0
        public override System.Threading.Tasks.Task <Response> Execute(IBillingService service)
        {
            this.TCS = new System.Threading.Tasks.TaskCompletionSource <Response>();

            if (this.ItemType == Consts.ITEM_TYPE_SUBS && !service.SubscriptionsSupported)
            {
                TCS.SetResult(new Response(Consts.SUBSCRIPTIONS_NOT_AVAILABLE));
                return(TCS.Task);
            }

            try
            {
                var buyIntentBundle = service.InAppService.GetBuyIntent(3, service.MainContext.PackageName, this.Sku, this.ItemType, this.ExtraData);

                int response = Utils.GetResponseCodeFromBundle(buyIntentBundle);

                if (response != Consts.BILLING_RESPONSE_RESULT_OK)
                {
                    Utils.LogError("Unable to buy the item, Error response: " + Utils.GetResponseDesc(response));
                    TCS.SetResult(new Response(response));
                    return(TCS.Task);
                }

                var pendingIntent = buyIntentBundle.GetParcelable(Consts.RESPONSE_BUY_INTENT) as PendingIntent;
                Utils.LogDebug("Launching buy intent for " + this.Sku + ". Request code: " + this.Id);

                service.MainActivity.StartIntentSenderForResult(pendingIntent.IntentSender, this.Id, new Intent(), 0, 0, 0);
            }
            catch (Android.Content.IntentSender.SendIntentException e)
            {
                Utils.LogError(string.Format("SendIntentException while purchasing sku: {0}, message: {1}", this.Sku, e.Message));
                TCS.SetResult(new Response(Consts.SEND_INTENT_FAILED, e));
            }
            catch (RemoteException e)
            {
                Utils.LogError(string.Format("RemoteException while purchasing sku: {0}, message: {1}", this.Sku, e.Message));
                TCS.SetResult(new Response(Consts.REMOTE_EXCEPTION, e));
            }
            catch (System.Exception e)
            {
                Utils.LogError(string.Format("Exception while purchasing sku: {0}, message: {1}", this.Sku, e.Message));
                this.TCS.SetResult(new Response(Consts.ERROR_BASE, e));
            }

            return(this.TCS.Task);
        }
        public override System.Threading.Tasks.Task <GetSkuDetailsResponse> Execute(IBillingService service)
        {
            this.TCS = new System.Threading.Tasks.TaskCompletionSource <GetSkuDetailsResponse>();

            var b = new Bundle();

            b.PutStringArrayList(Consts.GET_SKU_DETAILS_ITEM_LIST, m_SKUs);
            var skuDetails = service.InAppService.GetSkuDetails(3, service.MainContext.PackageName, this.m_itemType, b);

            if (!skuDetails.ContainsKey(Consts.RESPONSE_GET_SKU_DETAILS_LIST))
            {
                int response = Utils.GetResponseCodeFromBundle(skuDetails);
                if (response != Consts.BILLING_RESPONSE_RESULT_OK)
                {
                    Utils.LogError(string.Format("SkueDetails.Execute failed. Message : {0}", Utils.GetResponseDesc(response)));
                    this.TCS.SetResult(new GetSkuDetailsResponse(response));
                    return(this.TCS.Task);
                }
                else
                {
                    Utils.LogError("SkueDetails.Execute failed. Neither an error nor a detail list.");
                    this.TCS.SetResult(new GetSkuDetailsResponse(Consts.BAD_RESPONSE));
                    return(this.TCS.Task);
                }
            }

            var responseList = skuDetails.GetStringArrayList(Consts.RESPONSE_GET_SKU_DETAILS_LIST);
            var skus         = new List <SkuDetail>();

            responseList.ToList().ForEach(x =>
            {
                var d = new SkuDetail(this.m_itemType, x);
                skus.Add(d);
                Utils.LogDebug("SkuDetail: " + d);
                service.CurrentInventory.AddSkuDetails(d);
            });

            this.TCS.SetResult(new GetSkuDetailsResponse(skus));
            return(this.TCS.Task);
        }
Esempio n. 20
0
        public override System.Threading.Tasks.Task <Response> Execute(IBillingService service)
        {
            this.TCS = new System.Threading.Tasks.TaskCompletionSource <Response>();

            try
            {
                if (string.IsNullOrEmpty(this.Item.Token))
                {
                    this.TCS.SetResult(new Response(Consts.MISSING_TOKEN));
                    return(this.TCS.Task);
                }

                Utils.LogDebug(string.Format("Consuming sku: {0}, token: {1}", this.Item.Sku, this.Item.Token));

                int response = service.InAppService.ConsumePurchase(3, service.MainContext.PackageName, this.Item.Token);

                if (response == Consts.BILLING_RESPONSE_RESULT_OK)
                {
                    Utils.LogDebug(string.Format("Successfully consumed sku: {0}, token: {1}", this.Item.Sku, this.Item.Token));
                    this.TCS.SetResult(new Response());
                }
                else
                {
                    Utils.LogError(string.Format("Error consuming consuming sku: {0}, token: {1}, message: {2}", this.Item.Sku, this.Item.Token, Utils.GetResponseDesc(response)));
                    this.TCS.SetResult(new Response(response));
                }
            }
            catch (RemoteException e)
            {
                Utils.LogError(string.Format("RemoteException while consuming sku: {0}, token: {1}, message: {2}", this.Item.Sku, this.Item.Token, e.Message));
                TCS.SetResult(new Response(Consts.REMOTE_EXCEPTION, e));
            }
            catch (System.Exception e)
            {
                Utils.LogError(string.Format("Exception while consuming sku: {0}, token: {1}, message: {2}", this.Item.Sku, this.Item.Token, e.Message));
                this.TCS.SetResult(new Response(Consts.ERROR_BASE, e));
            }

            return(this.TCS.Task);
        }
        public BillingServiceTests()
        {
            var stringDictionary = new StringDictionary
            {
                { "database", "master" },
                { "enableWebEdit", "true" },
                { "masterDatabase", "master" }
            };

            this.siteContext = new FakeSiteContext(stringDictionary);

            this.cartManager      = Substitute.For <ICartManager>();
            this.paymentMapper    = Substitute.For <IPaymentMapper>();
            this.storefrontContex = Substitute.For <IStorefrontContext>();
            this.visitorContex    = Substitute.For <IVisitorContext>();
            this.paymentManager   = Substitute.For <IPaymentManager>();

            this.billingService = new BillingService(
                this.cartManager,
                this.storefrontContex,
                this.visitorContex,
                this.paymentMapper,
                this.paymentManager);
        }
 public BillingController(ILogger <BillingController> logger,
                          IBillingService service)
 {
     _service = service;
     _logger  = logger;
 }
Esempio n. 23
0
 public abstract Task <T> Execute(IBillingService service);
Esempio n. 24
0
 public BillingController(ILogger <BillingController> logger, IBillingService billingService) =>
 (_logger, _billingService) = (logger, billingService);
 public BillingController()
     : base(new UserService())
 {
     _billingService = new BillingService();
 }
Esempio n. 26
0
 public BillingController(IBillingService billingService)
 {
     _billingService = billingService;
 }
Esempio n. 27
0
 public BillingController(IOrdersService ordersService, IBillingService billingService)
 {
     _ordersService  = ordersService;
     _billingService = billingService;
 }
 public void Start()
 {
     _percentageDiscount = new Employee();
     _billingService     = new BillingService(_percentageDiscount, new BillDiscount());
 }
Esempio n. 29
0
        public Main(IBillingService billingService)
        {
            InitializeComponent();

            _billingService = billingService;
        }
Esempio n. 30
0
 public BillingController(IBillingService service)
 {
     _service = service;
 }
Esempio n. 31
0
 public AccountController(JsonConverter[] jsonConverters, IBillingService billingService)
 {
     this.jsonConverters = jsonConverters;
     this.billingService = billingService;
 }
 public InvoicesCreatorJob(IBillingService billingService)
 {
     this.billingService = billingService;
 }
Esempio n. 33
0
        public Bill(IBillingService billingService)
        {
            InitializeComponent();

            _billingService = billingService;

            try
            {
                CultureInfo tmp_ci = (CultureInfo)CultureInfo.CurrentCulture.Clone();
                tmp_ci.NumberFormat.NumberDecimalSeparator = ".";
                System.Threading.Thread.CurrentThread.CurrentCulture = tmp_ci;

                DataTable dtIDTypes = new DataTable();

                dtIDTypes.Columns.Add("Codigo");
                dtIDTypes.Columns.Add("Descripcion");
                dtIDTypes.Rows.Add(new object[]{"D", "DNI"});
                dtIDTypes.Rows.Add(new object[]{"L", "CUIL"});
                dtIDTypes.Rows.Add(new object[]{"T", "CUIT"});
                dtIDTypes.Rows.Add(new object[]{"C", "CI"});
                dtIDTypes.Rows.Add(new object[]{"P", "PAS"});
                dtIDTypes.Rows.Add(new object[]{"V", "LC"});
                dtIDTypes.Rows.Add(new object[]{"E", "LE"});

                cmbIDType.DataSource = dtIDTypes;
                cmbIDType.DisplayMember = "Descripcion";
                cmbIDType.ValueMember = "Codigo";
                cmbIDType.SelectedValue = "D";

                DataTable dtTaxCategories = new DataTable();

                dtTaxCategories.Columns.Add("Codigo");
                dtTaxCategories.Columns.Add("Descripcion");
                dtTaxCategories.Rows.Add(new object[]{"I", "Responsable Inscripto"});
                //tableCategoriasIVA.Rows.Add(new object[]{"N", "No Responsable"});
                dtTaxCategories.Rows.Add(new object[]{"M", "Monotributista"});
                dtTaxCategories.Rows.Add(new object[]{"E", "Excento"});
                dtTaxCategories.Rows.Add(new object[]{"U", "No Categorizado"});
                dtTaxCategories.Rows.Add(new object[]{"F", "Consumidor Final"});
                //tableCategoriasIVA.Rows.Add(new object[]{"T", "Monotributista Social"});
                dtTaxCategories.Rows.Add(new object[]{"C", "Contribuyente Eventual"});
                dtTaxCategories.Rows.Add(new object[]{"V", "Contribuyente Eventual Social"});

                cmbTaxCategory.DataSource = dtTaxCategories;
                cmbTaxCategory.DisplayMember = "Descripcion";
                cmbTaxCategory.ValueMember = "Codigo";
                cmbTaxCategory.SelectedValue = "F";

                //TODO: tomar las formas de pago desde alguna configuracion
                DataTable dtPaymentTypes = new DataTable();

                dtPaymentTypes.Columns.Add("Codigo");
                dtPaymentTypes.Columns.Add("Descripcion");
                dtPaymentTypes.Rows.Add(new object[] { "Efectivo", "Efectivo" });
                dtPaymentTypes.Rows.Add(new object[] { "Tarjeta", "Tarjeta" });
                dtPaymentTypes.Rows.Add(new object[] { "Deposito", "Deposito" });
                dtPaymentTypes.Rows.Add(new object[] { "Transferencia", "Transferencia" });

                cmbPaymentType1.DataSource = dtPaymentTypes.Copy();
                cmbPaymentType1.DisplayMember = "Descripcion";
                cmbPaymentType1.ValueMember = "Codigo";
                cmbPaymentType1.SelectedValue = "Efectivo";

                cmbPaymentType2.DataSource = dtPaymentTypes.Copy();
                cmbPaymentType2.DisplayMember = "Descripcion";
                cmbPaymentType2.ValueMember = "Codigo";
                cmbPaymentType2.SelectedValue = "Efectivo";

                //TODO: tomar las tarjetas desde alguna configuracion
                DataTable dtCards = new DataTable();

                dtCards.Columns.Add("Codigo");
                dtCards.Columns.Add("Descripcion");
                dtCards.Rows.Add(new object[] { "Visa", "Visa" });
                dtCards.Rows.Add(new object[] { "Mastercard", "Mastercard" });
                dtCards.Rows.Add(new object[] { "American Express", "American Express" });
                dtCards.Rows.Add(new object[] { "Dinners", "Dinners" });

                cmbCard1.DataSource = dtCards.Copy();
                cmbCard1.DisplayMember = "Descripcion";
                cmbCard1.ValueMember = "Codigo";

                cmbCard2.DataSource = dtCards.Copy();
                cmbCard2.DisplayMember = "Descripcion";
                cmbCard2.ValueMember = "Codigo";

            }
            catch (Exception ex)
            {
                MessageBox.Show("Error no controlado, por favor intente nuevamente o comuniquese con el administrador");
            }
        }
Esempio n. 34
0
 public BillingController(IBillingService billingService)
 {
     _billingService = billingService ?? throw new ArgumentNullException(nameof(billingService));
 }
Esempio n. 35
0
 public BillRepository(IBillingService billingService)
 {
     _billingService = billingService;
 }
Esempio n. 36
0
 public BillController(IBillingService service)
 {
     BusinessService = service;
 }
 public BillingController(IBillingService billingService)
 {
     _billingService = billingService;
 }
Esempio n. 38
0
        public Bill(IBillingService billingService)
        {
            InitializeComponent();

            _billingService = billingService;

            try
            {
                CultureInfo tmp_ci = (CultureInfo)CultureInfo.CurrentCulture.Clone();
                tmp_ci.NumberFormat.NumberDecimalSeparator           = ".";
                System.Threading.Thread.CurrentThread.CurrentCulture = tmp_ci;

                DataTable dtIDTypes = new DataTable();

                dtIDTypes.Columns.Add("Codigo");
                dtIDTypes.Columns.Add("Descripcion");
                dtIDTypes.Rows.Add(new object[] { "D", "DNI" });
                dtIDTypes.Rows.Add(new object[] { "L", "CUIL" });
                dtIDTypes.Rows.Add(new object[] { "T", "CUIT" });
                dtIDTypes.Rows.Add(new object[] { "C", "CI" });
                dtIDTypes.Rows.Add(new object[] { "P", "PAS" });
                dtIDTypes.Rows.Add(new object[] { "V", "LC" });
                dtIDTypes.Rows.Add(new object[] { "E", "LE" });

                cmbIDType.DataSource    = dtIDTypes;
                cmbIDType.DisplayMember = "Descripcion";
                cmbIDType.ValueMember   = "Codigo";
                cmbIDType.SelectedValue = "D";

                DataTable dtTaxCategories = new DataTable();

                dtTaxCategories.Columns.Add("Codigo");
                dtTaxCategories.Columns.Add("Descripcion");
                dtTaxCategories.Rows.Add(new object[] { "I", "Responsable Inscripto" });
                //tableCategoriasIVA.Rows.Add(new object[]{"N", "No Responsable"});
                dtTaxCategories.Rows.Add(new object[] { "M", "Monotributista" });
                dtTaxCategories.Rows.Add(new object[] { "E", "Excento" });
                dtTaxCategories.Rows.Add(new object[] { "U", "No Categorizado" });
                dtTaxCategories.Rows.Add(new object[] { "F", "Consumidor Final" });
                //tableCategoriasIVA.Rows.Add(new object[]{"T", "Monotributista Social"});
                dtTaxCategories.Rows.Add(new object[] { "C", "Contribuyente Eventual" });
                dtTaxCategories.Rows.Add(new object[] { "V", "Contribuyente Eventual Social" });

                cmbTaxCategory.DataSource    = dtTaxCategories;
                cmbTaxCategory.DisplayMember = "Descripcion";
                cmbTaxCategory.ValueMember   = "Codigo";
                cmbTaxCategory.SelectedValue = "F";

                //TODO: tomar las formas de pago desde alguna configuracion
                DataTable dtPaymentTypes = new DataTable();

                dtPaymentTypes.Columns.Add("Codigo");
                dtPaymentTypes.Columns.Add("Descripcion");
                dtPaymentTypes.Rows.Add(new object[] { "Efectivo", "Efectivo" });
                dtPaymentTypes.Rows.Add(new object[] { "Tarjeta", "Tarjeta" });
                dtPaymentTypes.Rows.Add(new object[] { "Deposito", "Deposito" });
                dtPaymentTypes.Rows.Add(new object[] { "Transferencia", "Transferencia" });

                cmbPaymentType1.DataSource    = dtPaymentTypes.Copy();
                cmbPaymentType1.DisplayMember = "Descripcion";
                cmbPaymentType1.ValueMember   = "Codigo";
                cmbPaymentType1.SelectedValue = "Efectivo";

                cmbPaymentType2.DataSource    = dtPaymentTypes.Copy();
                cmbPaymentType2.DisplayMember = "Descripcion";
                cmbPaymentType2.ValueMember   = "Codigo";
                cmbPaymentType2.SelectedValue = "Efectivo";

                //TODO: tomar las tarjetas desde alguna configuracion
                DataTable dtCards = new DataTable();

                dtCards.Columns.Add("Codigo");
                dtCards.Columns.Add("Descripcion");
                dtCards.Rows.Add(new object[] { "Visa", "Visa" });
                dtCards.Rows.Add(new object[] { "Mastercard", "Mastercard" });
                dtCards.Rows.Add(new object[] { "American Express", "American Express" });
                dtCards.Rows.Add(new object[] { "Dinners", "Dinners" });

                cmbCard1.DataSource    = dtCards.Copy();
                cmbCard1.DisplayMember = "Descripcion";
                cmbCard1.ValueMember   = "Codigo";

                cmbCard2.DataSource    = dtCards.Copy();
                cmbCard2.DisplayMember = "Descripcion";
                cmbCard2.ValueMember   = "Codigo";
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error no controlado, por favor intente nuevamente o comuniquese con el administrador");
            }
        }
Esempio n. 39
0
 public OrderController(ILogger <OrderController> logger, IBillingService billingService)
 {
     _logger         = logger;
     _billingService = billingService;
 }
Esempio n. 40
0
 public BillingServiceTests()
 {
     _service = new BillingService(new MenuItemRepository());
 }