Add get all posts to sql server repo