title: Passing HttpStatusCodes throughout different layers in web api application
body: <p>I'm writing a web api app that I have divided into various projects such Web, Services, DataAccess  - so basically the web api controller contacts the service layers which then can access the data access layer.</p>
  
  <p>I was returning just a bool to let me know if the data access method has completed ok, then picking this up in the service layer and then back to the controller...where I can then respond with a HTTPStatusCode of 200, or 500 etc..depending whether or not the operation has returned a true or false.</p>
  
  <p>Instead of bool is it good practice to use HttpStatusCodes instead...or should HTTP status codes only be used in the Controller - to return a response to the app that's calling the web api or should it be something else? </p>
  
  <p>Thanks,</p>