Exemplo n.º 1
0
        protected void btnGetTeamEventsText_Click(object sender, EventArgs e)
        {
            MyFileItAppServiceClient obj    = new MyFileItAppServiceClient();
            MyFileItResult           result = new MyFileItResult();

            result = obj.GetTeamEvents(appGlobal.username, appGlobal.password, null, null, "2016");
            var i = 0;
        }
Exemplo n.º 2
0
        protected void btnAddPaymentHistory_Click(object sender, EventArgs e)
        {
            MyFileItAppServiceClient obj        = new MyFileItAppServiceClient();
            MyFileItResult           result     = new MyFileItResult();
            PaymentHistoryDTO        objPayment = new PaymentHistoryDTO();

            objPayment.PRIMARYAPPUSERID    = 2;
            objPayment.DATEPURCHASED       = DateTime.UtcNow;
            objPayment.QUANTITY            = 1;
            objPayment.ITEM                = "ShareKey";
            objPayment.AMOUNT              = Convert.ToDecimal("3.99");;
            objPayment.LAST4CC             = "1111";
            objPayment.PROMOCODE           = "";
            objPayment.AUTHORIZATIONNUMBER = "0000";
            //objPayment.NAME = "Test Name";

            result = obj.AddPaymentHistory(appGlobal.username, appGlobal.password, objPayment);
        }