public async Task <bool> TestFor_ValidateCommentId()
        {
            //Arrange
            var res = false;

            //Act
            service.Setup(repo => repo.Comments(_commnet.PostID, _commnet)).ReturnsAsync(_commnet);
            var result = await _blogPostServMock.Comments(_commnet.PostID, _commnet);

            if (result.CommId >= 1 && result.CommId <= 350000)
            {
                res = true;
            }
            //Asert
            //final result displaying in text file
            await File.AppendAllTextAsync("../../../../output_boundary_revised.txt", "TestFor_ValidateCommentId=" + res + "\n");

            return(res);
        }
        public async Task <bool> TestFor_CreateNew_CommentonPost()
        {
            //Arrange
            var res = false;

            //Act
            service.Setup(repo => repo.Comments(_post.PostID, _commnet)).ReturnsAsync(_commnet);
            var result = await _blogPostServMock.Comments(_post.PostID, _commnet);

            if (_commnet == result)
            {
                res = true;
            }
            //Asert
            //final result displaying in text file
            await File.AppendAllTextAsync("../../../../output_exception_revised.txt", "TestFor_CreateNew_CommentonPost=" + res + "\n");

            return(res);
        }