Пример #1
0
        private void AddExpenseToCrm(Form form)
        {
            var client = new CashFlowIntegrationService.CashFlowIntegrationServiceClient();

            CashFlowIntegrationService.Expense expense = new CashFlowIntegrationService.Expense()
            {
                Cost        = (double)form.Total,
                Description = form.Name,
                Direction   = false
            };

            client.AddExpense(expense);
        }
Пример #2
0
 public System.Threading.Tasks.Task AddExpenseAsync(CashFlowIntegrationService.Expense expense)
 {
     return(base.Channel.AddExpenseAsync(expense));
 }
Пример #3
0
        private void AddExpenseToCrm(Form form)
        {
            var client = new CashFlowIntegrationService.CashFlowIntegrationServiceClient();

            CashFlowIntegrationService.Expense expense = new CashFlowIntegrationService.Expense()
            {
                Cost = (double)form.Total,
                Description = form.Name,
                Direction = false
            };

            client.AddExpense(expense);
        }
Пример #4
0
 public void AddExpense(CashFlowIntegrationService.Expense expense)
 {
     base.Channel.AddExpense(expense);
 }