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); }
public System.Threading.Tasks.Task AddExpenseAsync(CashFlowIntegrationService.Expense expense) { return(base.Channel.AddExpenseAsync(expense)); }
public void AddExpense(CashFlowIntegrationService.Expense expense) { base.Channel.AddExpense(expense); }