public void PublishPage(int StaticPageID) { var update = new FITlosophiOperations(); update.PublishPage(StaticPageID); }
public StaticPage GetPageByID(int PageID) { var read = new FITlosophiOperations(); return(read.GetPageByID(PageID)); }
public void EditPage(StaticPage StaticPage) { var update = new FITlosophiOperations(); update.EditPage(StaticPage); }
public void SetUp() { ops = new FITlosophiOperations(); }
public List <StaticPage> GetAllPageSummaries() { var read = new FITlosophiOperations(); return(read.GetAllPageSummaries()); }
public List <Category> Get() { var read = new FITlosophiOperations(); return(read.GetAllCategories()); }
public void Post(Category category) { var post = new FITlosophiOperations(); post.AddNewCategory(category); }
public List <Post> GetPostsByTagID(int tagID) { var read = new FITlosophiOperations(); return(read.GetPostsByTagID(tagID)); }
public List <Post> GetAllPostsByCategory(int categoryID) { var read = new FITlosophiOperations(); return(read.GetAllPostsByCategory(categoryID)); }
public Post GetPostByID(int postID) { var read = new FITlosophiOperations(); return(read.GetPostByID(postID)); }
public List <Post> GetPostByAmount(int amount) { var read = new FITlosophiOperations(); return(read.GetPostsByAmount(amount)); }
public List <HashTag> Get() { var read = new FITlosophiOperations(); return(read.GetAllTags()); }