public CynDataService(SiteSettings siteSettings) { _siteSettings = siteSettings; _blogToPost = new CreatePost(_siteSettings); _dataReaderToPost = (ITransmorgifier <IDataReader, Post>)_blogToPost; _dataReaderToBlogInfo = new CreateBlogInfo(); }
public CynDataService(ITransmorgifier <Blog, Post> blogToPost, ITransmorgifier <IDataReader, BlogInfo> dataReaderToBlogInfo, ITransmorgifier <IDataReader, CategoryInfo> dataReaderToCategoryInfo, ITransmorgifier <IDataReader, Post> dataReaderToPost, ITransmorgifier <Post, Blog> postToBlog, SiteSettings siteSettings) { _blogToPost = blogToPost; _dataReaderToBlogInfo = dataReaderToBlogInfo; // _dataReaderToCategoryInfo = dataReaderToCategoryInfo; _dataReaderToPost = dataReaderToPost; // _postToBlog = postToBlog; _siteSettings = siteSettings; }