/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public void CreateExpense(ExpenseContract request) { _coordinator.SaveExpense(request); if (_coordinator.RuleActionResults.Count > 0) { fault.Errors.AddRange(_coordinator.RuleActionResults); } }