Пример #1
0
        public static bool TryDecrypt(string encryptedValue, out PaymentData paymentData)
        {
            if (encryptedValue == null)
            {
                paymentData = null;
                return(false);
            }

            try
            {
                paymentData = CommonTools.DeserializeObject <PaymentData>(CommonTools.Decrypt(encryptedValue));
                return(true);
            }
            catch
            {
                paymentData = null;
                return(false);
            }
        }
Пример #2
0
 protected internal abstract Task UpdateAsync(PaymentData paymentData);
Пример #3
0
 protected internal abstract Task InsertAsync(PaymentData paymentData);
Пример #4
0
 protected internal abstract void Update(PaymentData paymentData);
Пример #5
0
 protected internal abstract void Insert(PaymentData paymentData);