Refactored DbRepository into Repositories/PostRepository