public void CreatePost(CreatePost command, ITaxonomy taxonomy) { _post = new PostDto(); _post.Id = command.AgId; _post.Slug = command.Slug; _post.Title = command.Titles[0]; _post.Body = command.Body; _post.Date = command.PostDate; _post.Tags = taxonomy.GenerateTags(_post.Body); _post.Teaser = command.Teaser; _post.EmailTeaser = command.EmailTeaser; }