Exemplo n.º 1
0
        public static CreatePostResponseModel PostToCreatePostResponseModel(Post post)
        {
            var postResponseModel = new CreatePostResponseModel()
            {
                Title = post.Title,
                PostId = post.PostId
            };

            return postResponseModel;
        }
Exemplo n.º 2
0
        public static CreatePostResponseModel PostToCreatePostResponseModel(Post post)
        {
            var postResponseModel = new CreatePostResponseModel()
            {
                Title  = post.Title,
                PostId = post.PostId
            };

            return(postResponseModel);
        }