Initial check in of some code that shows a list of blogs, a blog details page and can create a blog.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041601
This commit is contained in:
ErikPorter
2009-11-20 23:31:49 +00:00
parent 30800e7a02
commit 9ff20d7945
21 changed files with 318 additions and 20 deletions

View File

@@ -0,0 +1,10 @@
using Orchard.Blogs.Services;
using Orchard.Blogs.ViewModels;
namespace Orchard.Blogs.Extensions {
public static class BlogCreateViewModelExtensions {
public static CreateBlogParams ToCreateBlogParams(this CreateBlogViewModel viewModel) {
return new CreateBlogParams() {Name = viewModel.Name, Slug = viewModel.Slug, Enabled = viewModel.Enabled};
}
}
}