Revision: 36923
Updated Code
at November 30, 2010 23:04 by RichardCustance
Updated Code
public void CreateExpense(ExpenseContract request) { _coordinator.SaveExpense(request); if (_coordinator.RuleActionResults.Count > 0) { ContractFault fault = new ContractFault(); fault.Errors.AddRange(_coordinator.RuleActionResults); throw new FaultException<ContractFault>(fault, "Create Expense Failed"); } }
Revision: 36922
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 30, 2010 22:54 by RichardCustance
Initial Code
public void CreateExpense(ExpenseContract request) { _coordinator.SaveExpense(request); if (_coordinator.RuleActionResults.Count > 0) { { ContractFault fault = new ContractFault(); fault.Errors.AddRange(_coordinator.RuleActionResults); throw new FaultException<ContractFault>(fault, "Create Expense Failed"); } }
Initial URL
Initial Description
Initial Title
Web Extensibility Download Part 1 - Service Realisation
Initial Tags
Initial Language
C#