Refactored the Db.cs class to implement DRY and increase performance. 

I noticed the methods repeat themselves quite a bit, so I implemented DRY to remote the webClient work out of all the individual methods (following the single responsibility principle).I also added exception handling in the event of a failed endpoint, and added default return value safety into the CallApi method which implements it for all methods due to the DRY rework.