Example #1
0
        public static void AddPaymentAccount(CryptocurrencyAPIProvider processorName)
        {
            var stat = new Statistics
            {
                Data1        = processorName.ToString(),
                data2        = "0.000#0.000#0.000#0.000#0.000#0.000#0.000#0.000#0.000#0.000#0.000#0.000#0.000#0.000",
                Type         = StatisticsType.AvailableFunds,
                NumberOfDays = 14
            };

            stat.Save();
        }
Example #2
0
 public static void DeletePaymentAccount(CryptocurrencyAPIProvider processorName)
 {
     TableHelper.DeleteRows <Statistics>(TableHelper.MakeDictionary("Data1", processorName.ToString()));
 }