public int PrintingWork(string typeProfile, ref List <string[]> dropDwnChooseRemovePrinter, params string[] dataSuport)
        {
            printing = new Printing();
            int Printing = 1;

            if (CrossConnectivity.Current.IsConnected)
            {
                if (typeProfile == "OptionsGet")
                {
                    Printing = printing.OptionsGet(Convert.ToInt32(dataSuport[0]), dataSuport[1], dataSuport[2], ref dropDwnChooseRemovePrinter);
                }
            }
            printing = null;
            return(Printing);
        }
        public int PrintingWork(string typeSuport, ref string description, ref bool isPrinting, params string[] dataSuport)
        {
            printing = new Printing();
            int Printing = 1;

            if (CrossConnectivity.Current.IsConnected)
            {
                if (typeSuport == "PrintingAppStatus")
                {
                    Printing = printing.PrintingAppStatus(Convert.ToInt32(dataSuport[1]), dataSuport[0], dataSuport[2], ref description, ref isPrinting);
                }
            }
            printing = null;
            return(Printing);
        }
        public int ShippingEstimateOrderint(string typeSuport, int OrderID, ref string description, ref List <Carrier> carriers, params string[] dataSuport)
        {
            printing = new Printing();
            int Printing = 1;

            if (CrossConnectivity.Current.IsConnected)
            {
                if (typeSuport == "Options")
                {
                    Printing = printing.ShippingEstimateOrderint(Convert.ToInt32(dataSuport[1]), dataSuport[0], dataSuport[2], OrderID, ref carriers, ref description);
                }
            }
            printing = null;
            return(Printing);
        }
        public int ShippingCreateOrder(int ClientID, string Login, string Password, int OrderID, int LabelsQty, string ShippingMethod, string ShipToEmail, bool SignatureWaiver,
                                       double WeightOZ, CDimensions dim, Models.CAddressBase SourceAddr, Models.CAddressBase DestinationAddr, bool DeliveryConfirmation, bool SignatureConfirmation, bool NoValidate,
                                       bool EmailNotification, string OrderNumber, string ItemDescription, string PrinterID, decimal InsuranceAmount, ref string tracking, ref string description)
        {
            printing = new Printing();
            int Printing = 1;

            if (CrossConnectivity.Current.IsConnected)
            {
                Printing = printing.ShippingCreateOrder(ClientID, Login, Password, OrderID, LabelsQty, ShippingMethod, ShipToEmail, SignatureConfirmation, WeightOZ,
                                                        dim, SourceAddr, DestinationAddr, DeliveryConfirmation, SignatureConfirmation, NoValidate, EmailNotification, OrderNumber,
                                                        ItemDescription, PrinterID, InsuranceAmount, ref tracking, ref description);
            }
            printing = null;
            return(Printing);
        }
        public int PrintingWork(string typeSuport, ref string description, CDimensions dim, Models.CAddressBase SourceAddr, Models.CAddressBase DestinationAddr,
                                double WeightOZ, bool SignatureConfirmation, bool DeliveryConfirmation, bool NoValidate, decimal InsuranceAmount, ref List <Carrier> carriers, params string[] dataSuport)
        {
            printing = new Printing();
            int Printing = 1;

            if (CrossConnectivity.Current.IsConnected)
            {
                if (typeSuport == "Options")
                {
                    Printing = printing.ShippingEstimate(dataSuport[1], dataSuport[0], dataSuport[2], WeightOZ, dim, SourceAddr, DestinationAddr,
                                                         DeliveryConfirmation, SignatureConfirmation, NoValidate, InsuranceAmount, ref description, ref carriers);
                }
            }
            printing = null;
            return(Printing);
        }