public void SaveBlogAddNewTest()
        {
            ContentService contentService = new ContentService();

            BlogDC serviceRequest=new BlogDC();
            serviceRequest.BlogCategoryId=1;
            serviceRequest.BlogTitle="Blog Test for Approval";
            serviceRequest.BlogDescription="Blog Test for Approval Description";
            serviceRequest.BlogContent="Test Content";
            contentService.SaveBlog(serviceRequest);
        }
        public void SaveBlogUpdateTest()
        {
            ContentService contentService = new ContentService();

            BlogDC serviceRequest = new BlogDC();

            serviceRequest.BlogId = 8;
            serviceRequest.BlogCategoryId = 1;
            serviceRequest.BlogTitle = "Blog Test for Approval-Updated";
            serviceRequest.BlogDescription = "Blog Test for Approval Description-Updated";
            serviceRequest.BlogContent = "Test Content-Updated";
            contentService.SaveBlog(serviceRequest);
        }
 public void GetRecentBlogsTest()
 {
     ContentService contentService = new ContentService();
     ServiceResponse<List<BlogDC>> blogs = contentService.GetRecentBlogs();
 }
 public void GetBlogTest()
 {
     ContentService contentService = new ContentService();
     ServiceResponse<BlogDC> blog= contentService.GetBlog(8);
 }
 public void GetBlogCategoriesTest()
 {
     ContentService contentService = new ContentService();
     ServiceResponse<List<BlogCategoryDC>> blogCategories = contentService.GetBlogCategories();
 }
 public void GetApprovedBlogsTest()
 {
     ContentService contentService = new ContentService();
     ServiceResponse<BlogCategoryDC> blogs = contentService.GetBlogs(1);
 }