Exemple #1
0
        public Post Create(PostEditModel post)
        {
            int insertedId = InsertPost(post);

            return(new Post(insertedId, post.Name, post.Author, post.Content));
        }