Example #1
0
        public Poster GetByID(int id)
        {
            var post = _IPoster.GetByID(id);

            if (post != null)
            {
                post.Writer   = "User writer 1";
                post.Comments = _IPoster.GetByPosterID(id);
            }
            return(post);
        }