public IEnumerable <Post> CategoriesPosts(int id)
 {
     return(_postgreManager.GetPostByCategoryId(id));
 }