title: Unit tests to test the Web methods of a Web service which does some database transactions using NUnit
body: <p>How do I write unit tests to test the Web methods of a Web service using NUnit?</p>
  
  <p>The web methods in this application will add,update and delete a record in the database.
  The unit test will test a web method whether a record has been inserted in the database, the webmethod calls a method in data access layer to perform this action.</p>