예제 #1
0
        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);
        }
예제 #2
0
        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);
        }