Web Extensibility Download Part 2 - Decorating the service operation with Extensibility behaviour


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /// <summary>
  2. /// Deletes an expense based on its primary key
  3. /// </summary>
  4. /// <param name="id"></param>
  5. [OperationBehaviorExtension]
  6. public void DeleteExpense(int id)
  7. {
  8. _coordinator.DeleteExpense(id);
  9. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.