CODING_18837_GET_ALL_POSTS

- [x] create function get all posts in controller
- [x] create function get all post in model