コード例 #1
0
ファイル: FormController.cs プロジェクト: enjinir/Expense
        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
ファイル: Reference.cs プロジェクト: enjinir/Expense
 public System.Threading.Tasks.Task AddExpenseAsync(CashFlowIntegrationService.Expense expense)
 {
     return(base.Channel.AddExpenseAsync(expense));
 }
コード例 #3
0
ファイル: FormController.cs プロジェクト: enjinir/Expense
        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
ファイル: Reference.cs プロジェクト: enjinir/Expense
 public void AddExpense(CashFlowIntegrationService.Expense expense)
 {
     base.Channel.AddExpense(expense);
 }