public MetaWeblog(string connectionString) { SeqDBCon = connectionString; postsRep = new SeqPostsRepository(SeqDBCon); catRep = new SeqCategoriesRepository(SeqDBCon); tagRep = new SeqTagsRepository(SeqDBCon); }
public WebComicController(ISeqPostsRepository pRep, ISeqCategoriesRepository cRep, ISeqTagsRepository tRep, ISeqBooksRepository bRep) : base(pRep, cRep, tRep) { booksRep = bRep; }
public CategoryController( ISeqPostsRepository pRep, ISeqCategoriesRepository cRep, ISeqTagsRepository tRep) { postsRep = pRep; catRep = cRep; tagRep = tRep; pageSize = Convert.ToInt32(ConfigurationManager .AppSettings["PageSize"]); if (pageSize == 0) pageSize = 1; blogId = ConfigurationManager.AppSettings["BlogId"]; }
public PostController( ISeqPostsRepository pRep, ISeqCategoriesRepository cRep, ISeqTagsRepository tRep) { postsRep = pRep; catRep = cRep; tagRep = tRep; pageSize = Convert.ToInt32(ConfigurationManager.AppSettings["PageSize"]); if (pageSize == 0) pageSize = 1; blogId = ConfigurationManager.AppSettings["BlogId"]; }